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)