diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-02-08 19:27:54 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-02-08 19:30:30 -0800 |
commit | 51f97a97cebbedaed102e9a3e7e694401c880526 (patch) | |
tree | 1059af2081920fec7934b98e89afbf0e03d4c011 /equipment.c | |
parent | b12b2f1c85a3c18a66b7bddffbae574212a33bc2 (diff) | |
download | subsurface-51f97a97cebbedaed102e9a3e7e694401c880526.tar.gz |
Avoid using float when dealing with GPS location
Float values have insufficient precision compared to the udeg we usually
store - so we create a special callback function to use from osm-gps-map
and everywhere else use integers.
This patch also increases the decimal places displayed in the GPS text
entry box - this way we can cut and paste the text without loss of
precision.
Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'equipment.c')
0 files changed, 0 insertions, 0 deletions