mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Correctly plot dives ending below the surface
I thought we had fixed this before - but I guess it got broken again somewhere. We now make sure that the plot_info ends on an entry with depth 0. Added test14 to verify the fix. Also fixed cut'n'paste errors in a few test dive files. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
4b735521e2
commit
e38eb77e30
9 changed files with 54 additions and 11 deletions
|
@ -2,6 +2,7 @@
|
|||
<program name='subsurface' version='1'></program>
|
||||
<dive number='1' date='2011-01-01' time='09:00:00' duration='30:00 min'>
|
||||
<depth max='30.00 m' mean='15.00 m' />
|
||||
<location>Second test dive, this one with location</location>
|
||||
<location>First test dive, this one with location</location>
|
||||
<notes>Yes, the previous dive is dive 0, that one with no location.</notes>
|
||||
</dive>
|
||||
</dives>
|
||||
</dives>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue