diff options
Diffstat (limited to 'save-xml.c')
-rw-r--r-- | save-xml.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/save-xml.c b/save-xml.c index 3ed67fe39..a9800d001 100644 --- a/save-xml.c +++ b/save-xml.c @@ -232,7 +232,7 @@ void save_dives(const char *filename) return; /* Flush any edits of current dives back to the dives! */ - update_dive(NULL); + update_dive(current_dive); fprintf(f, "<dives>\n<program name='diveclog' version='%d'></program>\n", VERSION); for (i = 0; i < dive_table.nr; i++) |