summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--parse-xml.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/parse-xml.c b/parse-xml.c
index f6806d28a..cef5221db 100644
--- a/parse-xml.c
+++ b/parse-xml.c
@@ -1154,6 +1154,8 @@ static void try_to_fill_dive(struct dive *dive, const char *name, char *buf)
return;
if (MATCH("air.divetemperature", temperature, &dive->airtemp))
return;
+ if (MATCH("water.divetemperature", temperature, &dive->watertemp))
+ return;
nonmatch("dive", name, buf);
}