Subject: [PATCH] Save-XML: Correct bug in cylinder gas parameters
Correct a bug that I introduced previously. Signed-off-by: willem ferguson <willemfergu...@zoology.up.ac.za>
>From 45570d66ecf238aec8997f5d0c20c01dfe0aa4fa Mon Sep 17 00:00:00 2001 From: willem ferguson <willemfergu...@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 <willemfergu...@zoology.up.ac.za> --- save-xml.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/save-xml.c b/save-xml.c index c9adf53..7a27129 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 -- 1.9.1
_______________________________________________ subsurface mailing list subsurface@subsurface-divelog.org http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface