diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-02-03 12:19:53 +1100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-02-03 12:47:32 +1100 |
commit | 4ddea283a5dfb2ebbb1d0e6a0d578107b4fd8e95 (patch) | |
tree | 4894c0f3f47de55b4eebbade7709a6a1752e1287 /gps.c | |
parent | 3e426283b48a2e6e51facd84a92680718420de58 (diff) | |
download | subsurface-4ddea283a5dfb2ebbb1d0e6a0d578107b4fd8e95.tar.gz |
Imitialize gc y range for GF factor print
It seemed so smart to just base the coordinates on what's already in the
graphics context. Except that we apparently got a 0 to 0 range for y
coordinates if there are no pressure samples for a dive.
This fixes the problem and GF values are shown even for dives without
pressure samples.
Reported-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'gps.c')
0 files changed, 0 insertions, 0 deletions