diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-04-01 15:38:52 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-04-01 15:38:52 -0700 |
commit | 3a7d577ff1109c701656854ceb23ed690c340fbc (patch) | |
tree | 7cb7ccd8bbf20d804e619c4bc03d04536d19fd5d /parse-xml.c | |
parent | 9fad1cb50f5976767c06aefe6d2b4d919d9a9634 (diff) | |
download | subsurface-3a7d577ff1109c701656854ceb23ed690c340fbc.tar.gz |
Fix reference tank information for LP steel tanks.
Commit f9bb3f79106b ("Clean up reference tank information table") had
cleaned up the tank info list so that you could sanely do tanks in
liters and with a working pressure in bar.
But the LP steel cylinders had somehow missed out on the ".psi =" part
of the equation, and as a result, what was supposed to be their working
pressure instead ended up being interpreted as their size in
milli-liters.
Oops.
Fix that, and also make the standard tank info filling code actually
verify the sanity of the reference tank table, so that if this happens
again, it will complain loudly instead of using nonsensical values.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'parse-xml.c')
0 files changed, 0 insertions, 0 deletions