X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=save-xml.c;fp=save-xml.c;h=c5d49391b194c71f59d16756ab087a6605dbdac7;hb=067506038a5fea72e60680513d768f89722671fd;hp=07b8b80969d25f28616499083b8aab452127fd22;hpb=41bce9e5f4c80803132563681d492e74853aa609;p=ext%2Fsubsurface.git diff --git a/save-xml.c b/save-xml.c index 07b8b80..c5d4939 100644 --- a/save-xml.c +++ b/save-xml.c @@ -226,7 +226,7 @@ void save_dives(const char *filename) return; /* Flush any edits of current dives back to the dives! */ - flush_dive_info_changes(); + update_dive(NULL); fprintf(f, "\n\n", VERSION); for (i = 0; i < dive_table.nr; i++)