diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-06-23 21:36:54 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-06-28 20:23:01 +0900 |
commit | 019eeec93d3399a2e277ff9399320764043e38c1 (patch) | |
tree | 74c87f58b7a304e84ed4e9717339bc81692ceb8d /core/planner.c | |
parent | d60ec98e8e03076563623c550e81d22571d91e15 (diff) | |
download | subsurface-019eeec93d3399a2e277ff9399320764043e38c1.tar.gz |
Dive merge: don't use unset dive numbers
On merging, don't use the number of the first dive if it is 0.
Use the first non-zero number.
Fixes #2126
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/planner.c')
0 files changed, 0 insertions, 0 deletions