diff options
author | Robert C. Helling <helling@atdotde.de> | 2014-11-17 12:25:00 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-11-17 11:45:06 +0000 |
commit | 0d7c192e6edc1fba710632fd0844126e7c488599 (patch) | |
tree | 575f5746c06ebb8723c65d46aa6008d971d96881 /save-xml.c | |
parent | 5ed4876ad29c2952d84814b586572f5515afba94 (diff) | |
download | subsurface-0d7c192e6edc1fba710632fd0844126e7c488599.tar.gz |
For CCR dives, the diluent cylinder is the current cylinder
Change the meaning that _the_ cylinder (as we treat it in OC dives) is the
diluent cylinder (rather than the O2 cylinder). This eliminates special
cases. Now, for CCR, we have to handle the O2 cylinder in addition
(rather than the diluent in addition).
Signed-off-by: Robert C. Helling <helling@atdotde.de>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'save-xml.c')
-rw-r--r-- | save-xml.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/save-xml.c b/save-xml.c index 736e6a4db..52582dbaf 100644 --- a/save-xml.c +++ b/save-xml.c @@ -215,7 +215,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'"); + put_pressure(b, sample->o2cylinderpressure, " pdiluent='", " bar'"); /* * We only show sensor information for samples with pressure, and only if it |