mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
core: replace dive master by dive guide
In general, replace "dive master" by "dive guide". However, do not change written dive logs for now. On reading, accept both versions. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
889827aadb
commit
9e0712d5dc
38 changed files with 141 additions and 133 deletions
|
@ -1322,7 +1322,10 @@ static void try_to_fill_dive(struct dive *dive, const char *name, char *buf, str
|
|||
return;
|
||||
if (MATCH("notes", utf8_string, &dive->notes))
|
||||
return;
|
||||
if (MATCH("divemaster", utf8_string, &dive->divemaster))
|
||||
// For historic reasons, we accept dive guide as well as dive master
|
||||
if (MATCH("diveguide", utf8_string, &dive->diveguide))
|
||||
return;
|
||||
if (MATCH("divemaster", utf8_string, &dive->diveguide))
|
||||
return;
|
||||
if (MATCH("buddy", utf8_string, &dive->buddy))
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue