From c53a7b0d2d289001ac479aa7ac73c96dd5cb4fab Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Tue, 16 Aug 2011 10:26:42 +1000 Subject: [PATCH] Only display the CPU algo when we're CPU mining. --- main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/main.c b/main.c index 346e1dc6..c54e13b0 100644 --- a/main.c +++ b/main.c @@ -1312,7 +1312,9 @@ static void curses_print_status(int thr_id) wmove(statuswin, 0, 0); wattron(statuswin, A_BOLD); - wprintw(statuswin, " " PROGRAM_NAME " version " VERSION " - Started: %s CPU Algo: %s", datestamp, algo_names[opt_algo]); + wprintw(statuswin, " " PROGRAM_NAME " version " VERSION " - Started: %s", datestamp); + if (opt_n_threads) + wprintw(statuswin, " CPU Algo: %s", algo_names[opt_algo]); wattroff(statuswin, A_BOLD); wmove(statuswin, 1, 0); whline(statuswin, '-', 80);