Browse Source

Bugfix: Actually show the highest temperature, not just calculate it

Luke Dashjr 12 years ago
parent
commit
67956cf46e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      miner.c

+ 1 - 1
miner.c

@@ -2534,7 +2534,7 @@ void get_statline3(char *buf, struct cgpu_info *cgpu, bool for_curses, bool opt_
 					temp = proc->temp;
 					temp = proc->temp;
 		}
 		}
 		if (temp > 0.)
 		if (temp > 0.)
-			tailsprintf(buf, "%4.1fC | ", cgpu->temp);
+			tailsprintf(buf, "%4.1fC | ", temp);
 		else
 		else
 			strcat(buf, "      | ");
 			strcat(buf, "      | ");
 	}
 	}