mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
92ea29ebcb
commit
988ccba710
2 changed files with 10 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue