summaryrefslogtreecommitdiffstats
path: root/qt-ui/diveplanner.cpp
diff options
context:
space:
mode:
authorGravatar Henrik Brautaset Aronsen <subsurface@henrik.synth.no>2014-06-22 16:41:44 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-06-23 06:48:54 +0800
commit630ec88dd4a096fa39ad95b54a7dbfa760a212d9 (patch)
tree0a4cc6f336c92dc7ff2dee828aa88a45736f903e /qt-ui/diveplanner.cpp
parent21916d67de37fcca027fa392995c24084c954bc1 (diff)
downloadsubsurface-630ec88dd4a096fa39ad95b54a7dbfa760a212d9.tar.gz
Be more consistent in partial pressure naming
Lets just use pO₂ instead of PO2, ppO2, ppO₂, PO₂. They all mean the same, but it's better to be consistent Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/diveplanner.cpp')
-rw-r--r--qt-ui/diveplanner.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/qt-ui/diveplanner.cpp b/qt-ui/diveplanner.cpp
index 654a58031..e8542da74 100644
--- a/qt-ui/diveplanner.cpp
+++ b/qt-ui/diveplanner.cpp
@@ -600,11 +600,11 @@ bool DivePlannerPointsModel::addGas(struct gasmix mix)
if (cylinder_nodata(cyl)) {
fill_default_cylinder(cyl);
cyl->gasmix = mix;
- /* The depth to change to that gas is given by the depth where its pO2 is 1.6 bar.
+ /* The depth to change to that gas is given by the depth where its pO₂ is 1.6 bar.
* The user should be able to change this depth manually. */
- pressure_t modppO2;
- modppO2.mbar = 1600;
- cyl->depth = gas_mod(&mix, modppO2);
+ pressure_t modpO2;
+ modpO2.mbar = 1600;
+ cyl->depth = gas_mod(&mix, modpO2);
CylindersModel::instance()->setDive(stagingDive);
return true;
}