summaryrefslogtreecommitdiffstats
path: root/parse-xml.c
diff options
context:
space:
mode:
Diffstat (limited to 'parse-xml.c')
-rw-r--r--parse-xml.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/parse-xml.c b/parse-xml.c
index 376860e6b..dd35379fb 100644
--- a/parse-xml.c
+++ b/parse-xml.c
@@ -625,6 +625,8 @@ static void try_to_fill_dc(struct divecomputer *dc, const char *name, char *buf)
return;
if (MATCH(".model", utf8_string, &dc->model))
return;
+ if (MATCH(".nickname", utf8_string, &dc->nickname))
+ return;
if (MATCH(".deviceid", hex_value, &dc->deviceid))
return;
if (MATCH(".diveid", hex_value, &dc->diveid))