X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=statistics.c;h=d714220430aa0febabc074cfa2b76d62ef414b26;hb=93d07f631aec470fb9f920f66ccb03ce699942b5;hp=bf37bf85e01c489ae374e00a7b12f52cadae224a;hpb=68bd80dff4212dfa2a5f4a34f3dbb7f28fc30991;p=ext%2Fsubsurface.git 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