mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
Bugfix: Load PSC dive logs
The code changes to standardise the named of divemodes and to separate internal divemode names and UI divemode names introduced a bug that caused non-backward compatability with existing dive logs. The reason for this is the definition of the divemode_text strings in dive.c This change reverses that definition and brings about correct loading of PSCR dive logs as well as correct parsing of bailout events involving PSCR. Signed-off-by: Willem Ferguson <willemferguson@zoology.up.ac.za>
This commit is contained in:
parent
1c2ed7f49f
commit
780530f32e
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ const char *divemode_text_ui[] = {
|
|||
};
|
||||
|
||||
// For writing/reading files.
|
||||
const char *divemode_text[] = {"OC", "CCR", "pSCR", "Freedive"};
|
||||
const char *divemode_text[] = {"OC", "CCR", "PSCR", "Freedive"};
|
||||
|
||||
/*
|
||||
* Adding a cylinder pressure sample field is not quite as trivial as it
|
||||
|
|
Loading…
Reference in a new issue