diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-05-17 18:43:25 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-05-17 10:36:23 -0700 |
commit | 3debd927345edef6363cb6636f8d240dbdd09dda (patch) | |
tree | 52b27b5cf1248f13886ce21914e5b3211bf93632 /scripts/docker/mxe-build-container/Dockerfile | |
parent | 77b5d714fb1c373d0f2c93c23607958ea9788b4b (diff) | |
download | subsurface-3debd927345edef6363cb6636f8d240dbdd09dda.tar.gz |
Undo: properly reference-count dive sites
Recently, the undo code was changed to consider dive sites.
The undo code uses a DiveToAdd structure, which was extended
by the dive site to which the dive should be added.
The split and merge commands were not adapted and therefore
the dive counts of the dive sites were wrong after split
and merge.
Fix this by properly setting the dive site field and removing
the reference in the dive structure (in the split case, the merge
case already cleared the reference).
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'scripts/docker/mxe-build-container/Dockerfile')
0 files changed, 0 insertions, 0 deletions