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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/save-xml.c b/core/save-xml.c
index 4abb3cc12..baebb0ad9 100644
--- a/core/save-xml.c
+++ b/core/save-xml.c
@@ -476,7 +476,7 @@ void save_one_dive_to_mb(struct membuffer *b, struct dive *dive, bool anonymize)
put_string(b, "<dive");
if (dive->number)
put_format(b, " number='%d'", dive->number);
- if (dive->tripflag == NO_TRIP)
+ if (dive->notrip)
put_format(b, " tripflag='NOTRIP'");
if (dive->rating)
put_format(b, " rating='%d'", dive->rating);