Commit 6789c96fd44c7ffd9c40e11838a00bc76040f4f6

Con Kolivas 2013-06-15T01:37:00

Off by one error in device count for display.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/cgminer.c b/cgminer.c
index 83e0740..a9cb249 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)