Commit cc9223f041f52a7108cb52a32bbf0d83a5999409

Con Kolivas 2013-06-03T16:37:56

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

diff --git a/cgminer.c b/cgminer.c
index c95878f..5ebe1a5 100644
--- a/cgminer.c
+++ b/cgminer.c
@@ -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;