summaryrefslogtreecommitdiffstats
path: root/core/parse-xml.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/parse-xml.c')
-rw-r--r--core/parse-xml.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/parse-xml.c b/core/parse-xml.c
index cd87d27a1..a7aec8c6a 100644
--- a/core/parse-xml.c
+++ b/core/parse-xml.c
@@ -1331,6 +1331,8 @@ static void try_to_fill_dive(struct dive *dive, const char *name, char *buf, str
return;
if (MATCH("buddy", utf8_string, &dive->buddy))
return;
+ if (MATCH("watersalinity", salinity, &dive->user_salinity))
+ return;
if (MATCH("rating.dive", get_rating, &dive->rating))
return;
if (MATCH("visibility.dive", get_rating, &dive->visibility))