Browse Source

Off by one error in device count for display.

nfactor-troky
Con Kolivas 12 years ago
parent
commit
6789c96fd4
  1. 2
      cgminer.c

2
cgminer.c

@ -2100,7 +2100,7 @@ static void curses_print_devstatus(struct cgpu_info *cgpu, int count) @@ -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)

Loading…
Cancel
Save