summaryrefslogtreecommitdiffstats
path: root/save-xml.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-11-16 22:11:34 +0000
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-11-16 22:13:12 +0000
commit202c5cbfeb6888b05ae4b14b4f563666bc6ca763 (patch)
treee99552b1afb08bf86e50a930ba7c8f1c4eb9fc4e /save-xml.c
parent84dc8b8962ae8a4a75ca1ec81acd09989f757c98 (diff)
downloadsubsurface-202c5cbfeb6888b05ae4b14b4f563666bc6ca763.tar.gz
Save CCR cylinder use in XML and git
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'save-xml.c')
-rw-r--r--save-xml.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/save-xml.c b/save-xml.c
index ac9ef874e..31ad436bc 100644
--- a/save-xml.c
+++ b/save-xml.c
@@ -179,6 +179,8 @@ static void save_cylinder_info(struct membuffer *b, struct dive *dive)
put_gasmix(b, &cylinder->gasmix);
put_pressure(b, cylinder->start, " start='", " bar'");
put_pressure(b, cylinder->end, " end='", " bar'");
+ if (cylinder->cylinder_use != OC_GAS)
+ show_utf8(b, cylinderuse_text[cylinder->cylinder_use], " use='", "'", 1);
put_format(b, " />\n");
}
}