]> git.tdb.fi Git - ext/subsurface.git/commit
Fix depth parsing
authorLinus Torvalds <torvalds@linux-foundation.org>
Wed, 31 Aug 2011 15:45:43 +0000 (08:45 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 31 Aug 2011 15:45:43 +0000 (08:45 -0700)
commit446e51ccf032c6449c8d38dbac0b2110b4246bc5
tree08b8df42fcedb77bdc943a6e6bf8b0d97e8895f5
parent5625b31873ae5a76b76b036be18858327a25d8f0
Fix depth parsing

The "decimal: it's meters, integer: it's feet" logic doesn't work.  It's
just always meters, because the xml ends up sometimes having whole meters.

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