X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=breezed.git;a=blobdiff_plain;f=breezed.cc;h=ae61293dd6a1c1e6ee13178ed07a0a72bc405e0c;hp=4f2302d0484bca579e6856e95824a29de94e48fb;hb=a9505ed57f383bcdb2bfbf484b79ea5a54b1d89b;hpb=069b11832e379d8490f63558913c227acd752ca3 diff --git a/breezed.cc b/breezed.cc index 4f2302d..ae61293 100644 --- a/breezed.cc +++ b/breezed.cc @@ -471,6 +471,10 @@ Written by Francois Fleuret (francois@fleuret.org).\n"; cout << " " << t; } + // So that we can deal with the new files where the + // temperature are in 1/1000th of C + if(t > 1000) t /= 1000; + if(t > temperature) temperature = t; } }