X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=save-xml.c;h=c93a828cc54f8fa5b1c29eb28bf7b42762fe034e;hb=b17c7f07095da886a688de2d36f79d433d6110b9;hp=07b8b80969d25f28616499083b8aab452127fd22;hpb=04c98344b3c50b58dcc62eeb6d13e11030eb662d;p=ext%2Fsubsurface.git diff --git a/save-xml.c b/save-xml.c index 07b8b80..c93a828 100644 --- a/save-xml.c +++ b/save-xml.c @@ -180,6 +180,7 @@ static void save_cylinder_info(FILE *f, struct dive *dive) } if (volume) show_milli(f, " size='", volume, " l", "'"); + show_pressure(f, cylinder->type.workingpressure, " workpressure='", "'"); if (description) fprintf(f, " description='%s'", description); show_pressure(f, cylinder->start, " start='", "'"); @@ -226,7 +227,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++)