aboutsummaryrefslogtreecommitdiffstats
path: root/core/statistics.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/statistics.c')
-rw-r--r--core/statistics.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/statistics.c b/core/statistics.c
index d10854c01..233025dd3 100644
--- a/core/statistics.c
+++ b/core/statistics.c
@@ -369,7 +369,7 @@ void get_gas_used(struct dive *dive, volume_t gases[MAX_CYLINDERS])
pressure_t start, end;
for_each_dc(dive, dc) {
- if (!strcmp(dc->model, "planned dive"))
+ if (same_string(dc->model, "planned dive"))
continue;
if (has_gaschange_event(dive, dc, idx))
used = true;