summaryrefslogtreecommitdiffstats
path: root/save-xml.c
diff options
context:
space:
mode:
Diffstat (limited to 'save-xml.c')
-rw-r--r--save-xml.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/save-xml.c b/save-xml.c
index fe663f652..0626d0adc 100644
--- a/save-xml.c
+++ b/save-xml.c
@@ -522,6 +522,9 @@ void save_dives(const char *filename)
update_dive(current_dive);
fprintf(f, "<divelog program='subsurface' version='%d'>\n<settings>\n", VERSION);
+
+ /* save the dive computer nicknames, if any */
+ clear_dc_saved_status();
for_each_dive(i, dive) {
struct divecomputer *dc = &dive->dc;
while (dc) {