diff options
Diffstat (limited to 'core/parse-xml.c')
-rw-r--r-- | core/parse-xml.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/parse-xml.c b/core/parse-xml.c index 483614c6e..43d0049a7 100644 --- a/core/parse-xml.c +++ b/core/parse-xml.c @@ -1306,6 +1306,8 @@ static void try_to_fill_dive(struct dive *dive, const char *name, char *buf, str return; if (MATCH("visibility.dive", get_rating, &dive->visibility)) return; + if (MATCH_STATE("airpressure.dive", pressure, &dive->surface_pressure)) + return; if (state->cur_ws_index < MAX_WEIGHTSYSTEMS) { if (MATCH("description.weightsystem", utf8_string, &dive->weightsystem[state->cur_ws_index].description)) return; |