diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-02-12 12:34:22 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-02-12 12:34:22 -0800 |
commit | 1b548c071b50a8576e0a23125b95748c42d6d0ef (patch) | |
tree | 259e640a8dc63d9c504eb3d4f920f1ee05692415 /dives/test19.xml | |
parent | 9fa9ebcff2ab17eacefa82dd1ca2eb2a1ddd3523 (diff) | |
download | subsurface-1b548c071b50a8576e0a23125b95748c42d6d0ef.tar.gz |
Set maxdepth correctly for dives with no samples
This showed up when suddenly some of the test dives no longer got merged
when loaded twice. As I moved maxdepth up into the dive structure and
added the code to fixup the data from what is in the divecomputer I missed
the part where the function is exited early if there are no samples. This
patch corrects that oversight.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dives/test19.xml')
0 files changed, 0 insertions, 0 deletions