[PATCH]: Centralising and redefining values as integers (was: centralised definition for surface pressure)

Jan Schubert Jan.Schubert at GMX.li
Mon Jan 14 14:53:38 PST 2013


This patch centralizes the definition for surface pressure, oxygen in
air, (re)defines all such values as plain integers and adapts calculations.

It eliminates 11 (!) occurrences of definitions for surface pressure and
also a few for oxygen in air.

It also rewrites the calculation for EAD, END and EADD using the new
definitons, harmonizing it for OC and CC and fixes a bug for EADD OC
calculation.

And finally it removes the unneeded variable entry_ead in gtk-gui.c.

Jan

Signed-off-by: Jan Schubert / Jan.Schubert at GMX.li


-------------- next part --------------
A non-text attachment was scrubbed...
Name: centralising.patch
Type: text/x-patch
Size: 14117 bytes
Desc: not available
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20130114/6636f8ec/attachment.bin>


More information about the subsurface mailing list