summaryrefslogtreecommitdiffstats
path: root/planner.c
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2014-12-26 15:09:18 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-01-10 17:27:24 -0800
commitd01c6c824b1e6114a58ac84f387cd437a2c2ac02 (patch)
treee705e57e41c7be6a585d8df126d40c59746378ed /planner.c
parentac2c15e8cf882fa51220ca51f856c5e252979ff8 (diff)
downloadsubsurface-d01c6c824b1e6114a58ac84f387cd437a2c2ac02.tar.gz
Rebreather type selector UI
Signed-off-by: Robert C. Helling <helling@atdotde.de> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'planner.c')
-rw-r--r--planner.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/planner.c b/planner.c
index 27781f6f3..322bd25e6 100644
--- a/planner.c
+++ b/planner.c
@@ -251,7 +251,7 @@ static void create_dive_from_plan(struct diveplan *diveplan, bool track_gas)
int oldpo2 = 0;
int lasttime = 0;
int lastdepth = 0;
- enum dive_comp_type type = OC;
+ enum dive_comp_type type = displayed_dive.dc.dctype;
if (!diveplan || !diveplan->dp)
return;