summaryrefslogtreecommitdiffstats
path: root/flag.png
diff options
context:
space:
mode:
authorGravatar Amit Chaudhuri <amit.k.chaudhuri@gmail.com>2013-05-08 12:08:00 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-05-08 12:10:51 -0700
commitb5d5b05140eac7a8031cdb15e7c31f659a6f2da6 (patch)
treed26741d03b8cb625b8ef00e877a3f1b900bc8224 /flag.png
parent661aa67e89ad7710f90482b074715c4d1448860a (diff)
downloadsubsurface-b5d5b05140eac7a8031cdb15e7c31f659a6f2da6.tar.gz
Fix crash on right click dive trip
A null pointer dereference occured after right click on a dive trip because updateDiveInfo was called with dive == -1 causing get_dive(int) to return null. Wrap to avoid crash and clear dive info widget text labels. [Dirk Hohndel: this is different from the fix I had committed earlier; I decided to combine the ideas, clean this one up a bit more and this is the result] Signed-off-by: Amit Chaudhuri <amit.k.chaudhuri@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'flag.png')
0 files changed, 0 insertions, 0 deletions