summaryrefslogtreecommitdiffstats
path: root/uemis-downloader.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2012-12-05 11:57:40 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2012-12-05 12:31:31 -0800
commita012ce05158165b4ea4e92e557a1b9be5491eb0e (patch)
treee9253ba28c833ff572d6c9dfe7bd15a89441afcc /uemis-downloader.c
parentd00be63c86bae3579e9cdd5e523e09146b72dc22 (diff)
downloadsubsurface-a012ce05158165b4ea4e92e557a1b9be5491eb0e.tar.gz
Fix saving of salinity
Several things were wrong. - we saved it as floating point (that was stupid, given the locale issue with that and given the fact that the precision was really artificial) - we always saved it when set (we should only save it if the value is different from our default of 1030g/l == salt water) - most embarrassing - the unit we assigned was wrong. That's g/l, not kg/l... Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'uemis-downloader.c')
0 files changed, 0 insertions, 0 deletions