Save CCR cylinder use in XML and git

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2014-11-16 22:11:34 +00:00
parent 84dc8b8962
commit 202c5cbfeb
6 changed files with 31 additions and 1 deletions

View file

@ -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");
}
}