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 4058603d3..6218fc74d 100644 --- a/core/parse-xml.c +++ b/core/parse-xml.c @@ -1381,6 +1381,8 @@ static void try_to_fill_dive(struct dive *dive, const char *name, char *buf, str return; if (MATCH_STATE("water.divetemperature", temperature, &dive->watertemp)) return; + if (MATCH("invalid", get_bool, &dive->invalid)) + return; nonmatch("dive", name, buf); } |