mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
Fix uemis depth calculation in the uemis XML importer
Signed-off-by: Dirk Hohndel <dirk@hohndel.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
fa76733d25
commit
ed4e71a817
1 changed files with 1 additions and 1 deletions
|
@ -422,7 +422,7 @@ static void water_pressure(char *buffer, void *_depth)
|
|||
* atm to cm. Why not mm? The precision just isn't
|
||||
* there.
|
||||
*/
|
||||
cm = 100 * (atm - 1) + 0.5;
|
||||
cm = 100 * atm + 0.5;
|
||||
if (cm > 0) {
|
||||
depth->mm = 10 * (long)cm;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue