Browse Source

Bugfix: Use waddstr instead of wprintw to display completed device summary line, so literal %s don't get interpreted as formatting options

Luke Dashjr 13 years ago
parent
commit
c8402a2f13
1 changed files with 1 additions and 1 deletions
  1. 1 1
      miner.c

+ 1 - 1
miner.c

@@ -2433,7 +2433,7 @@ static void curses_print_devstatus(int thr_id)
 		return;
 		return;
 	
 	
 	get_statline2(logline, cgpu, true);
 	get_statline2(logline, cgpu, true);
-	wprintw(statuswin, logline);
+	waddstr(statuswin, logline);
 
 
 	wclrtoeol(statuswin);
 	wclrtoeol(statuswin);
 }
 }