From f9a8e66f70fea58162631260f662f4e3c4a3b264 Mon Sep 17 00:00:00 2001 From: troky Date: Wed, 11 Jun 2014 11:18:36 +0200 Subject: [PATCH] Fixed crash when changing display modes (#237) --- sgminer.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sgminer.c b/sgminer.c index 89e6e4cc..5bf75dd4 100644 --- a/sgminer.c +++ b/sgminer.c @@ -4886,8 +4886,9 @@ static void display_options(void) opt_loginput = true; immedok(logwin, true); - clear_logwin(); + retry: + clear_logwin(); 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" "[R]PC debug: %s\n[W]orkTime details: %s\n[I]ncognito: %s\n"