]> git.tdb.fi Git - ext/subsurface.git/commit
Add more static cylinder types - and pick them up from the dive log
authorLinus Torvalds <torvalds@linux-foundation.org>
Sun, 11 Sep 2011 00:14:07 +0000 (17:14 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 11 Sep 2011 00:14:07 +0000 (17:14 -0700)
commitd1b30212ff7192ef1b3fa85924433a8ddd92c281
tree2fb55c3b77eea11585876d939f7ce64808d34713
parent1fe687a16c52699727f5197fbea4c7b0899905cf
Add more static cylinder types - and pick them up from the dive log

This adds a few more predefined cylinder types to the static list, but
perhaps more importantly, if we try to show a cylinder description that
we haven't seen before, we automatically add that description to the
list as well.

This way, if people have their own cylinder types, our cylinder
management will automatically figure them out and make it easy to enter
them.

NOTE! It might be best to add the new cylinder description at dive log
load time, rather than at 'show' time.

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