diff options
-rw-r--r-- | parse-xml.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/parse-xml.c b/parse-xml.c index 8826f2fe3..285c681fc 100644 --- a/parse-xml.c +++ b/parse-xml.c @@ -2281,7 +2281,7 @@ extern int dm5_dive(void *param, int columns, char **data, char **column) } if (data[14]) - cur_dive->dc.surface_pressure.mbar = (atoi(data[14]) * 1000); + cur_dive->dc.surface_pressure.mbar = (atoi(data[14]) / 100); interval = data[16] ? atoi(data[16]) : 0; sampleBlob = (unsigned const char *)data[24]; |