diff options
Diffstat (limited to 'save-xml.c')
-rw-r--r-- | save-xml.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/save-xml.c b/save-xml.c index fb9eb413a..0ec6f27d0 100644 --- a/save-xml.c +++ b/save-xml.c @@ -400,6 +400,8 @@ static void save_dc(FILE *f, struct dive *dive, struct divecomputer *dc) fprintf(f, " <divecomputer"); if (dc->model) show_utf8(f, dc->model, " model='", "'", 1); + if (dc->nickname && *dc->nickname) + show_utf8(f, dc->nickname, " nickname='", "'", 1); if (dc->deviceid) fprintf(f, " deviceid='%08x'", dc->deviceid); if (dc->diveid) |