1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-02-02 18:14:20 +00:00

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

This commit is contained in:
Con Kolivas 2011-08-16 10:26:42 +10:00
parent 657812ada4
commit c53a7b0d2d

4
main.c
View File

@ -1312,7 +1312,9 @@ static void curses_print_status(int thr_id)
wmove(statuswin, 0, 0); wmove(statuswin, 0, 0);
wattron(statuswin, A_BOLD); 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); wattroff(statuswin, A_BOLD);
wmove(statuswin, 1, 0); wmove(statuswin, 1, 0);
whline(statuswin, '-', 80); whline(statuswin, '-', 80);