diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-11-15 09:40:53 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-11-15 09:40:53 -0800 |
commit | d84f76ae1457e913a8c3316d670e30cc44d51b0f (patch) | |
tree | e5d6ad8f8ae57a0282ef21917127e2de7746d47d | |
parent | 499d35f4ff579babd70ecd76b3c9a03cc9e87ee8 (diff) | |
download | subsurface-d84f76ae1457e913a8c3316d670e30cc44d51b0f.tar.gz |
Revert "Save cylinder pressure from samples"
This reverts commit 763dfef31573fdda9c5a4e26cb3446f53f704fea.
I didn't pay enough attention when accepting this - it saves redundant
data.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-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 51d3054e4..ac9ef874e 100644 --- a/save-xml.c +++ b/save-xml.c @@ -177,8 +177,8 @@ static void save_cylinder_info(struct membuffer *b, struct dive *dive) put_pressure(b, cylinder->type.workingpressure, " workpressure='", " bar'"); show_utf8(b, description, " description='", "'", 1); put_gasmix(b, &cylinder->gasmix); - put_pressure(b, cylinder->start.mbar ? cylinder->start : cylinder->sample_start, " start='", " bar'"); - put_pressure(b, cylinder->end.mbar ? cylinder->end : cylinder->sample_end, " end='", " bar'"); + put_pressure(b, cylinder->start, " start='", " bar'"); + put_pressure(b, cylinder->end, " end='", " bar'"); put_format(b, " />\n"); } } |