diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-09-10 15:17:33 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-09-10 15:17:33 -0700 |
commit | b17c7f07095da886a688de2d36f79d433d6110b9 (patch) | |
tree | 8b8560847f2db3dd0e0e47d569f4316f4b82dc97 /save-xml.c | |
parent | ed4b739f5f618fa9fb316dcec4c67224bb4f2bb8 (diff) | |
download | subsurface-b17c7f07095da886a688de2d36f79d433d6110b9.tar.gz |
Now that we don't mess up import, we can save the cylinder working pressure
We used to have the heuristic that if we saw a cylinder working
pressure, then the cylinder size would be in cuft. Which meant that we
couldn't export our working pressures, because it would mess things up
on import.
But working pressure is actually nice to know, if you ever work with
cylinders in imperial units. So now that the import is fixed, add the
working pressure to the export.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'save-xml.c')
-rw-r--r-- | save-xml.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/save-xml.c b/save-xml.c index c5d49391b..c93a828cc 100644 --- a/save-xml.c +++ b/save-xml.c @@ -180,6 +180,7 @@ static void save_cylinder_info(FILE *f, struct dive *dive) } if (volume) show_milli(f, " size='", volume, " l", "'"); + show_pressure(f, cylinder->type.workingpressure, " workpressure='", "'"); if (description) fprintf(f, " description='%s'", description); show_pressure(f, cylinder->start, " start='", "'"); |