mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
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>
This commit is contained in:
parent
ed4b739f5f
commit
b17c7f0709
1 changed files with 1 additions and 0 deletions
|
@ -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='", "'");
|
||||
|
|
Loading…
Reference in a new issue