mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
e943065977
commit
18acb85a01
2 changed files with 1 additions and 3 deletions
|
|
@ -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"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue