summaryrefslogtreecommitdiffstats
path: root/dive.c
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2012-11-17 13:04:31 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2012-11-19 12:02:09 -0800
commitd166e34fed53786000b9afa353e806b918d53714 (patch)
tree9af1b1857320b0a04d85af3592a61fe8ebf108f2 /dive.c
parent804b22dcd9dd5beb316640997fa559929fdb5d2a (diff)
downloadsubsurface-d166e34fed53786000b9afa353e806b918d53714.tar.gz
Fix silly thinko in recent changes to "Delete dive" code
Commit 38c79d149db0 ("Simplify and clean up dive trip management") simplified the code a bit *too* much, and removed the check for "dive->selected". As a result, trying to delete a dive resulted in *all* dives being deleted. Oops. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dive.c')
0 files changed, 0 insertions, 0 deletions