diff options
author | Robert C. Helling <helling@atdotde.de> | 2015-01-11 00:01:15 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-01-10 17:27:25 -0800 |
commit | e219bc70f863eaaa9b81ba5abc240975a128c904 (patch) | |
tree | 682d6d981929420bbabd0021e02db3006c72d96f /statistics.c | |
parent | bfe05b43407c419a32548af20f40e2b9e3bca045 (diff) | |
download | subsurface-e219bc70f863eaaa9b81ba5abc240975a128c904.tar.gz |
Refactor dctype -> divemode
... and repair a failed rebase (sorry).
Signed-off-by: Robert C. Helling <helling@atdotde.de>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'statistics.c')
-rw-r--r-- | statistics.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/statistics.c b/statistics.c index 96d6a65f2..bca9e6540 100644 --- a/statistics.c +++ b/statistics.c @@ -308,7 +308,7 @@ bool is_cylinder_used(struct dive *dive, int idx) return true; event = get_next_event(event->next, "gaschange"); } - if (dc->dctype == CCR && (idx == dive->diluent_cylinder_index || idx == dive->oxygen_cylinder_index)) + if (dc->divemode == CCR && (idx == dive->diluent_cylinder_index || idx == dive->oxygen_cylinder_index)) return true; } if (idx == 0 && !firstGasExplicit) |