From: Dirk Hohndel Date: Fri, 4 Nov 2011 22:09:56 +0000 (-0700) Subject: Don't test for liquid Helium X-Git-Url: http://git.tdb.fi/?p=ext%2Fsubsurface.git;a=commitdiff_plain;h=93d07f631aec470fb9f920f66ccb03ce699942b5 Don't test for liquid Helium Simply accept temperatures that are above absolute zero. Signed-off-by: Dirk Hohndel --- diff --git a/statistics.c b/statistics.c index bf37bf8..d714220 100644 --- a/statistics.c +++ b/statistics.c @@ -140,7 +140,7 @@ void show_dive_stats(struct dive *dive) set_label(info_stat_w.max_depth, "%.*f %s", decimals, value, unit); value = get_depth_units(dive->meandepth.mm, &decimals, &unit); set_label(info_stat_w.avg_depth, "%.*f %s", decimals, value, unit); - if (dive->watertemp.mkelvin > 200) { + if (dive->watertemp.mkelvin) { value = get_temp_units(dive->watertemp.mkelvin, &unit); set_label(info_stat_w.water_temp, "%.1f %s", value, unit); } else