summaryrefslogtreecommitdiffstats
path: root/core/save-xml.c
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-12-12 23:07:17 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-03-20 15:20:44 -0700
commit4e47cdfa2c611e0e02f46b84d76d29f1fab74e20 (patch)
treeec7de6591f918f7fb6b73f2b89f41d4b9ee1a1d1 /core/save-xml.c
parent329641fdcdf7759d430aea2d2a115550bc5caf62 (diff)
downloadsubsurface-4e47cdfa2c611e0e02f46b84d76d29f1fab74e20.tar.gz
Undo: implement invalidate-dive command
Connect command to context menu. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
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 3570861e4..6662069d8 100644
--- a/core/save-xml.c
+++ b/core/save-xml.c
@@ -499,7 +499,7 @@ void save_one_dive_to_mb(struct membuffer *b, struct dive *dive, bool anonymize)
if (dive->chill)
put_format(b, " chill='%d'", dive->chill);
if (dive->invalid)
- put_format(b, " invalid");
+ put_format(b, " invalid='1'");
save_tags(b, dive->tag_list);
if (dive->dive_site)
put_format(b, " divesiteid='%8x'", dive->dive_site->uuid);