]> git.tdb.fi Git - ext/subsurface.git/commitdiff
Fix an issue with trips that have dives from multiple input files
authorDirk Hohndel <dirk@hohndel.org>
Mon, 27 Aug 2012 22:29:40 +0000 (15:29 -0700)
committerDirk Hohndel <dirk@hohndel.org>
Mon, 27 Aug 2012 22:29:40 +0000 (15:29 -0700)
The existing code didn't handle the case of different trips for the same
date coming from different sources. It also got confused if the first dive
processed (which is, chronologically, the last dive) happened to be a
"NOTRIP" dive.

This commit adds a bit of debugging infrastructure for the trip handling,
too.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>

No differences found