1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-10 23:08:07 +00:00

Off by one error in device count for display.

This commit is contained in:
Con Kolivas 2013-06-15 01:37:00 +10:00
parent 994c0245c0
commit 6789c96fd4

View File

@ -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)