summaryrefslogtreecommitdiffstats
path: root/core/divelist.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-02-03 07:31:03 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-02-03 07:31:03 -0800
commit08c42813e5d3af8ca702be4333daf46cc14c1d39 (patch)
treee75edfe480b20bd743887e1d868024624a2d5163 /core/divelist.c
parent414d7f2632273420aea8e6cb5291a40ea2111d13 (diff)
downloadsubsurface-08c42813e5d3af8ca702be4333daf46cc14c1d39.tar.gz
Revert "In statistics, ignore gas use of planned dives"
This reverts commit 1d8662006cbb5edae941315e30ede381c23a817b. Mistakenly pushed to master Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/divelist.c')
-rw-r--r--core/divelist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/divelist.c b/core/divelist.c
index 096fc3359..b28dd5ef3 100644
--- a/core/divelist.c
+++ b/core/divelist.c
@@ -119,7 +119,7 @@ void get_dive_gas(struct dive *dive, int *o2_p, int *he_p, int *o2max_p)
int o2 = get_o2(&cyl->gasmix);
int he = get_he(&cyl->gasmix);
- if (!is_cylinder_used(dive, i, false))
+ if (!is_cylinder_used(dive, i))
continue;
if (cylinder_none(cyl))
continue;