diff options
| author | 2012-11-17 13:04:31 -0800 | |
|---|---|---|
| committer | 2012-11-19 12:02:09 -0800 | |
| commit | d166e34fed53786000b9afa353e806b918d53714 (patch) | |
| tree | 9af1b1857320b0a04d85af3592a61fe8ebf108f2 /dive.c | |
| parent | 804b22dcd9dd5beb316640997fa559929fdb5d2a (diff) | |
| download | subsurface-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