Browse Source

Merge commit '9c53e98' into bfgminer

Luke Dashjr 12 years ago
parent
commit
5e76ea0514
1 changed files with 2 additions and 0 deletions
  1. 2 0
      miner.c

+ 2 - 0
miner.c

@@ -5647,7 +5647,9 @@ void zero_stats(void)
 	total_diff_accepted = 0;
 	total_diff_rejected = 0;
 	total_diff_stale = 0;
+#ifdef HAVE_CURSES
 	awidth = rwidth = swidth = hwwidth = 1;
+#endif
 
 	for (i = 0; i < total_pools; i++) {
 		struct pool *pool = pools[i];