summaryrefslogtreecommitdiffstats
path: root/core/save-xml.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/save-xml.c')
-rw-r--r--core/save-xml.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/save-xml.c b/core/save-xml.c
index 912350da2..c2e9828d1 100644
--- a/core/save-xml.c
+++ b/core/save-xml.c
@@ -608,7 +608,7 @@ static void save_dives_buffer(struct membuffer *b, const bool select_only, bool
if (dive_site_is_empty(ds))
continue;
/* Only write used dive sites when exporting selected dives */
- if (select_only && !is_dive_site_used(ds, true))
+ if (select_only && !is_dive_site_selected(ds))
continue;
put_format(b, "<site uuid='%8x'", ds->uuid);
@@ -823,7 +823,7 @@ static void save_dive_sites_buffer(struct membuffer *b, const bool select_only,
if (dive_site_is_empty(ds))
continue;
/* Only write used dive sites when exporting selected dives */
- if (select_only && !is_dive_site_used(ds, true))
+ if (select_only && !is_dive_site_selected(ds))
continue;
put_format(b, "<site uuid='%8x'", ds->uuid);