aboutsummaryrefslogtreecommitdiffstats
path: root/print.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2012-09-10 11:04:58 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2012-09-10 11:04:58 -0700
commit38d49bf0411acb67f3623a813d912c07025f474a (patch)
tree3e8ffd37fb1fb45afdd7fc5f79ad3f965ba1befa /print.c
parent3febfb74fa092b12b7f0a3e8d05b11b6ab6da397 (diff)
downloadsubsurface-38d49bf0411acb67f3623a813d912c07025f474a.tar.gz
Improve trip assignment for new dives
When first trying to deal with this I opted to go with a two pass appoach which seemed easy as it used existing infrastructure, but turned out to run into a couple of odd corner cases that would have been really ugly to deal with. So I threw this code away and am instead doing this in a single pass, carefully checking as we go if there is an appropriate trip we can use. To me the new code is much easier to read and seems much cleaner. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'print.c')
0 files changed, 0 insertions, 0 deletions