diff options
author | Anton Lundin <glance@acc.umu.se> | 2013-12-07 16:25:42 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-12-07 08:09:05 -0800 |
commit | bb979260b08b28a0388c30534c773cb51d0b0b40 (patch) | |
tree | 07cc465741b4db655fc3a0c888ce5e37a432caf9 /qt-ui | |
parent | 90634b3814f72d2f234ea3b8ce2d63a2b8500aa6 (diff) | |
download | subsurface-bb979260b08b28a0388c30534c773cb51d0b0b40.tar.gz |
Fix gas for start dp
It previously always started with o2 in air, now we start with 0 as its
the same default as in the cylinders too, which fixes a uninitialized
index there too.
Signed-off-by: Anton Lundin <glance@acc.umu.se>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r-- | qt-ui/diveplanner.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/diveplanner.cpp b/qt-ui/diveplanner.cpp index 6f7b063bf..7b607abcc 100644 --- a/qt-ui/diveplanner.cpp +++ b/qt-ui/diveplanner.cpp @@ -1393,7 +1393,7 @@ void DivePlannerPointsModel::createTemporaryPlan() // Get the user-input and calculate the dive info // Not sure if this is the place to create the diveplan... // We just start with a surface node at time = 0 - struct divedatapoint *dp = create_dp(0, 0, 209, 0, 0); + struct divedatapoint *dp = create_dp(0, 0, 0, 0, 0); dp->entered = TRUE; diveplan.dp = dp; int lastIndex = -1; |