diff options
author | Willem Ferguson <willemferguson@zoology.up.ac.za> | 2014-11-21 15:02:53 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-11-21 07:31:22 -0800 |
commit | 27d19b605b8cc319d196123f7abcf48a6968f369 (patch) | |
tree | 12be890ba45cea5b831dd7574ccb66a0285cc45d /save-xml.c | |
parent | 19aa4245b4b8509b7147c16ac9d3265f607731ac (diff) | |
download | subsurface-27d19b605b8cc319d196123f7abcf48a6968f369.tar.gz |
Save-XML: Correct bug in cylinder gas parameters
Correct a bug that I introduced previously.
Signed-off-by: willem ferguson <willemferguson@zoology.up.ac.za>
From 45570d66ecf238aec8997f5d0c20c01dfe0aa4fa Mon Sep 17 00:00:00 2001
From: willem ferguson <willemferguson@zoology.up.ac.za>
Date: Fri, 21 Nov 2014 14:59:14 +0200
Subject: [PATCH] Save-XML: Correct bug in cylinder gas parameters
Correct a bug that I introduced previously
Signed-off-by: willem ferguson <willemferguson@zoology.up.ac.za>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'save-xml.c')
-rw-r--r-- | save-xml.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/save-xml.c b/save-xml.c index c9adf5307..7a2712949 100644 --- a/save-xml.c +++ b/save-xml.c @@ -214,8 +214,8 @@ static void save_sample(struct membuffer *b, struct sample *sample, struct sampl put_format(b, " <sample time='%u:%02u min'", FRACTION(sample->time.seconds, 60)); put_milli(b, " depth='", sample->depth.mm, " m'"); put_temperature(b, sample->temperature, " temp='", " C'"); - put_pressure(b, sample->cylinderpressure, " pdiluent='", " bar'"); - put_pressure(b, sample->o2cylinderpressure, " pressure='", " bar'"); + put_pressure(b, sample->cylinderpressure, " pressure='", " bar'"); + put_pressure(b, sample->o2cylinderpressure, " o2pressure='", " bar'"); /* * We only show sensor information for samples with pressure, and only if it |