]> git.tdb.fi Git - ext/subsurface.git/commitdiff
Don't test for liquid Helium
authorDirk Hohndel <dirk@hohndel.org>
Fri, 4 Nov 2011 22:09:56 +0000 (15:09 -0700)
committerDirk Hohndel <dirk@hohndel.org>
Fri, 4 Nov 2011 22:09:56 +0000 (15:09 -0700)
Simply accept temperatures that are above absolute zero.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
statistics.c

index bf37bf85e01c489ae374e00a7b12f52cadae224a..d714220430aa0febabc074cfa2b76d62ef414b26 100644 (file)
@@ -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