summaryrefslogtreecommitdiffstats
path: root/parse-xml.c
diff options
context:
space:
mode:
Diffstat (limited to 'parse-xml.c')
-rw-r--r--parse-xml.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/parse-xml.c b/parse-xml.c
index e2f84f073..765843fbc 100644
--- a/parse-xml.c
+++ b/parse-xml.c
@@ -1004,8 +1004,12 @@ static void try_to_fill_dive(struct dive *dive, const char *name, char *buf)
return;
if (MATCH(".latitude", gps_lat, dive))
return;
+ if (MATCH(".sitelat", gps_lat, dive))
+ return;
if (MATCH(".longitude", gps_long, dive))
return;
+ if (MATCH(".sitelon", gps_long, dive))
+ return;
if (MATCH(".location", utf8_string, &dive->location))
return;
if (MATCH("dive.name", utf8_string, &dive->location))