summaryrefslogtreecommitdiffstats
path: root/save-xml.c
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2014-11-15 12:19:11 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-11-15 06:04:58 -0800
commit744e14b4505796a5465c03ee77422aaa4d8cae30 (patch)
tree28fc99bd8ed5e0e240c2f1b45a653d695c475a4d /save-xml.c
parent763dfef31573fdda9c5a4e26cb3446f53f704fea (diff)
downloadsubsurface-744e14b4505796a5465c03ee77422aaa4d8cae30.tar.gz
Save the diluent pressures to XML
Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'save-xml.c')
-rw-r--r--save-xml.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/save-xml.c b/save-xml.c
index 61740b3ea..51d3054e4 100644
--- a/save-xml.c
+++ b/save-xml.c
@@ -213,6 +213,7 @@ static void save_sample(struct membuffer *b, struct sample *sample, struct sampl
put_milli(b, " depth='", sample->depth.mm, " m'");
put_temperature(b, sample->temperature, " temp='", " C'");
put_pressure(b, sample->cylinderpressure, " pressure='", " bar'");
+ put_pressure(b, sample->diluentpressure, " pdiluent='", " bar'");
/*
* We only show sensor information for samples with pressure, and only if it