From 93d07f631aec470fb9f920f66ccb03ce699942b5 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Fri, 4 Nov 2011 15:09:56 -0700 Subject: [PATCH] Don't test for liquid Helium Simply accept temperatures that are above absolute zero. Signed-off-by: Dirk Hohndel --- statistics.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.45.2