Browse Source

Only display the CPU algo when we're CPU mining.

Con Kolivas 14 years ago
parent
commit
c53a7b0d2d
1 changed files with 3 additions and 1 deletions
  1. 3 1
      main.c

+ 3 - 1
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);