summaryrefslogtreecommitdiffstats
path: root/save-git.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-git.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-git.c')
-rw-r--r--save-git.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/save-git.c b/save-git.c
index 93348306e..68fc52637 100644
--- a/save-git.c
+++ b/save-git.c
@@ -159,6 +159,9 @@ 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)
+ put_format(b, " use=%s", cylinderuse_text[cylinder->cylinder_use]);
+
put_string(b, "\n");
}
}