diff options
Diffstat (limited to 'save-xml.c')
-rw-r--r-- | save-xml.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/save-xml.c b/save-xml.c index a70aacc3e..db7d321bd 100644 --- a/save-xml.c +++ b/save-xml.c @@ -372,9 +372,9 @@ static void save_dive(FILE *f, struct dive *dive) save_overview(f, dive); save_cylinder_info(f, dive); save_weightsystem_info(f, dive); - save_events(f, dive->events); - for (i = 0; i < dive->samples; i++) - save_sample(f, dive->sample+i); + save_events(f, dive->dc.events); + for (i = 0; i < dive->dc.samples; i++) + save_sample(f, dive->dc.sample+i); fprintf(f, "</dive>\n"); } |