diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2020-02-07 16:26:40 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-02-08 10:26:21 -0800 |
commit | 988ccba7105442f34d85ed81e13fd69162eb2b87 (patch) | |
tree | 7d5eb0d9fba5244e586408bf637ab8625c9e0321 /CHANGELOG.md | |
parent | 92ea29ebcb4c8c7aa36dfc950042a232476ab10a (diff) | |
download | subsurface-988ccba7105442f34d85ed81e13fd69162eb2b87.tar.gz |
mobile: prevent crash adding dives
When the cylinders became a dynamic data structure, a get_cylinder() call
suddenly could return a NULL pointer. So use get_or_create_cylinder() for the
first call when parsing the user's data.
Also, deal with an oddity where the string lists look different because an
empty list technically isn't the same as a list with one empty string.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 1880c2515..baac1bb91 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,4 @@ +Mobile: fix potential crash when adding / editing dives Mobile: automatically scroll the dive edit screen so that the notes edit cursor stays visible Desktop: ignore dive sites without location in proximity search Mobile: add personalized option for units |