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:
parent
994c0245c0
commit
6789c96fd4
@ -2100,7 +2100,7 @@ static void curses_print_devstatus(struct cgpu_info *cgpu, int count)
|
|||||||
if (devcursor + count > LINES - 2)
|
if (devcursor + count > LINES - 2)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (count > most_devices)
|
if (count >= most_devices)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (cgpu->dev_start_tv.tv_sec == 0)
|
if (cgpu->dev_start_tv.tv_sec == 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user