1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-31 08:54:19 +00:00

Fixed crash when changing display modes (#237)

This commit is contained in:
troky 2014-06-11 11:18:36 +02:00
parent cd9864f92b
commit f9a8e66f70

View File

@ -4886,8 +4886,9 @@ static void display_options(void)
opt_loginput = true; opt_loginput = true;
immedok(logwin, true); immedok(logwin, true);
clear_logwin();
retry: retry:
clear_logwin();
wlogprint("[N]ormal [C]lear [S]ilent mode (disable all output)\n"); wlogprint("[N]ormal [C]lear [S]ilent mode (disable all output)\n");
wlogprint("[D]ebug: %s\n[P]er-device: %s\n[Q]uiet: %s\n[V]erbose: %s\n" wlogprint("[D]ebug: %s\n[P]er-device: %s\n[Q]uiet: %s\n[V]erbose: %s\n"
"[R]PC debug: %s\n[W]orkTime details: %s\n[I]ncognito: %s\n" "[R]PC debug: %s\n[W]orkTime details: %s\n[I]ncognito: %s\n"