1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-23 04:54:26 +00:00

Change switch_compact function name to switch_logsize to be used for other changes.

This commit is contained in:
Con Kolivas 2013-06-03 16:37:56 +10:00
parent 514491bd0e
commit cc9223f041

View File

@ -2184,7 +2184,7 @@ static void check_winsizes(void)
}
}
static void switch_compact(void)
static void switch_logsize(void)
{
if (curses_active_locked()) {
if (opt_compact) {
@ -4342,7 +4342,7 @@ retry:
opt_compact = false;
want_per_device_stats = false;
wlogprint("Output mode reset to normal\n");
switch_compact();
switch_logsize();
goto retry;
} else if (!strncasecmp(&input, "d", 1)) {
opt_debug ^= true;
@ -4354,7 +4354,7 @@ retry:
} else if (!strncasecmp(&input, "m", 1)) {
opt_compact ^= true;
wlogprint("Compact mode %s\n", opt_compact ? "enabled" : "disabled");
switch_compact();
switch_logsize();
goto retry;
} else if (!strncasecmp(&input, "p", 1)) {
want_per_device_stats ^= true;