aboutsummaryrefslogtreecommitdiffstats
path: root/core/dive.c
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2021-01-02 13:40:02 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2021-01-02 10:26:29 -0800
commit18acb85a01a932cbbf8da79cf3933a2e72c09564 (patch)
tree403f070ba4190032b7b53ae6bb720ee3f6dcd131 /core/dive.c
parente943065977239d670f0176f6d09cffbb56960db9 (diff)
downloadsubsurface-18acb85a01a932cbbf8da79cf3933a2e72c09564.tar.gz
cleanup: don't save PASCAL pressure units to git
The way I understand, the PASCAL pressure unit is used to parse obscure dive logs. However, there is no support in the UI for using Pa as pressure unit. Therefore remove reading / writing this unit to git divelogs. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/dive.c')
-rw-r--r--core/dive.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/core/dive.c b/core/dive.c
index 5157afea0..9167724d9 100644
--- a/core/dive.c
+++ b/core/dive.c
@@ -2972,8 +2972,6 @@ void set_informational_units(const char *units)
git_prefs.units.pressure = BAR;
if (strstr(units, "PSI"))
git_prefs.units.pressure = PSI;
- if (strstr(units, "PASCAL"))
- git_prefs.units.pressure = PASCALS;
if (strstr(units, "CELSIUS"))
git_prefs.units.temperature = CELSIUS;
if (strstr(units, "FAHRENHEIT"))