]> git.tdb.fi Git - ext/subsurface.git/commit
Make the dive gas record the single highest mix
authorLinus Torvalds <torvalds@linux-foundation.org>
Mon, 12 Dec 2011 05:28:18 +0000 (21:28 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 12 Dec 2011 05:28:18 +0000 (21:28 -0800)
commit51176cb0897c04340d831a6a9f967933c5f7f059
tree6bd4887f5bc725a61c7c20be29ff90cfdde5f9c4
parentbb09b67182187be284ae1f80fc7174da0dcd9ee3
Make the dive gas record the single highest mix

.. using the regular sorting rules: sort by Helium content first, Oxygen
content second.  Air always sorts last (even behind the theoretical
hypoxic Nitrox that nobody sane would use).

This is what Don Kinney implies would be the natural thing for a trimix
diver.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
divelist.c