From 6789c96fd44c7ffd9c40e11838a00bc76040f4f6 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Sat, 15 Jun 2013 01:37:00 +1000 Subject: [PATCH] Off by one error in device count for display. --- cgminer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cgminer.c b/cgminer.c index 83e0740f..a9cb2495 100644 --- a/cgminer.c +++ b/cgminer.c @@ -2100,7 +2100,7 @@ static void curses_print_devstatus(struct cgpu_info *cgpu, int count) if (devcursor + count > LINES - 2) return; - if (count > most_devices) + if (count >= most_devices) return; if (cgpu->dev_start_tv.tv_sec == 0)