summaryrefslogtreecommitdiffstats
path: root/save-xml.c
diff options
context:
space:
mode:
Diffstat (limited to 'save-xml.c')
-rw-r--r--save-xml.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/save-xml.c b/save-xml.c
index 0626d0adc..59eb02e23 100644
--- a/save-xml.c
+++ b/save-xml.c
@@ -532,6 +532,8 @@ void save_dives(const char *filename)
dc = dc->next;
}
}
+ if (autogroup)
+ fprintf(f, "<autogroup state='1' />\n");
fprintf(f, "</settings>\n<dives>\n");
for (trip = dive_trip_list; trip != NULL; trip = trip->next)