summaryrefslogtreecommitdiffstats
path: root/statistics.c
diff options
context:
space:
mode:
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 e0df9c405..82070a937 100644
--- a/statistics.c
+++ b/statistics.c
@@ -579,7 +579,7 @@ static void show_single_dive_stats(struct dive *dive)
} else {
set_label(single_w.air_temp, "");
}
- if (dive->dc.surface_pressure.mbar) {
+ if (get_surface_pressure_in_mbar(dive, FALSE)) {
set_label(single_w.air_press, "%d mbar", dive->dc.surface_pressure.mbar);
} else {
set_label(single_w.air_press, _("unknown"));