diff options
author | Salvador Cuñat <salvador.cunat@gmail.com> | 2016-01-07 23:21:28 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-01-07 18:40:20 -0800 |
commit | ce3a78efcac2c9b6bd215bc191560a64c54fd628 (patch) | |
tree | 1da778c12c8c6bd62ae9eb0d02d399b8f1142d7f /subsurface-core/divecomputer.cpp | |
parent | 0f311020205563823c71cfb68a77d156b14d352a (diff) | |
download | subsurface-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/divecomputer.cpp')
0 files changed, 0 insertions, 0 deletions