summaryrefslogtreecommitdiffstats
path: root/statistics.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2011-11-04 15:09:56 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2011-11-04 15:09:56 -0700
commit93d07f631aec470fb9f920f66ccb03ce699942b5 (patch)
treef4901df79f054904c4a4830ad83272889c6b4ec2 /statistics.c
parent68bd80dff4212dfa2a5f4a34f3dbb7f28fc30991 (diff)
downloadsubsurface-93d07f631aec470fb9f920f66ccb03ce699942b5.tar.gz
Don't test for liquid Helium
Simply accept temperatures that are above absolute zero. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'statistics.c')
-rw-r--r--statistics.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/statistics.c b/statistics.c
index bf37bf85e..d71422043 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