summaryrefslogtreecommitdiffstats
path: root/subsurface-core/libdivecomputer.c
diff options
context:
space:
mode:
authorGravatar Salvador Cuñat <salvador.cunat@gmail.com>2016-01-07 23:21:28 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-01-07 18:40:20 -0800
commitce3a78efcac2c9b6bd215bc191560a64c54fd628 (patch)
tree1da778c12c8c6bd62ae9eb0d02d399b8f1142d7f /subsurface-core/libdivecomputer.c
parent0f311020205563823c71cfb68a77d156b14d352a (diff)
downloadsubsurface-ce3a78efcac2c9b6bd215bc191560a64c54fd628.tar.gz
Assign lower number to a merged dive instead of higher one
At the moment, if we have, say, dives ... 100, 101 and 102 and we merge 101 and 102, we get a list numbered ... 99, 100, 102. This is, probably, an undesired behavior. The patch simple chooses lower of both dive numbers instead of higher one. Signed-off-by: Salvador Cuñat <salvador.cunat@gmail.com> Acked-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-core/libdivecomputer.c')
0 files changed, 0 insertions, 0 deletions