diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-06-25 21:36:30 +0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-06-25 21:41:58 +0800 |
commit | 7f3efbdc98deeb4e4bcd481335761b6439b9552c (patch) | |
tree | 429daf20fa70a9148a4253914e705d444ea58bf8 /qt-ui/diveplanner.cpp | |
parent | 65c5d6815cf7c78231abd76440bb5bab54d9d51c (diff) | |
download | subsurface-7f3efbdc98deeb4e4bcd481335761b6439b9552c.tar.gz |
Make gas mod be reasonable for users of imperial units as well
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/diveplanner.cpp')
-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 57438eb39..0708b6aef 100644 --- a/qt-ui/diveplanner.cpp +++ b/qt-ui/diveplanner.cpp @@ -694,7 +694,7 @@ bool DivePlannerPointsModel::addGas(struct gasmix mix) * The user should be able to change this depth manually. */ pressure_t modpO2; modpO2.mbar = prefs.decopo2; - cyl->depth = gas_mod(&mix, modpO2, 3000); + cyl->depth = gas_mod(&mix, modpO2, M_OR_FT(3,10)); CylindersModel::instance()->setDive(stagingDive); return true; |