summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/shiftimagetimes.ui
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2020-02-07 16:26:40 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-02-08 10:26:21 -0800
commit988ccba7105442f34d85ed81e13fd69162eb2b87 (patch)
tree7d5eb0d9fba5244e586408bf637ab8625c9e0321 /desktop-widgets/shiftimagetimes.ui
parent92ea29ebcb4c8c7aa36dfc950042a232476ab10a (diff)
downloadsubsurface-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 'desktop-widgets/shiftimagetimes.ui')
0 files changed, 0 insertions, 0 deletions