diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-02-10 12:06:18 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-02-10 12:10:26 -0800 |
commit | 05990b107de746064486f4f1c79a2383e1dfd63f (patch) | |
tree | 3c7dd65a31dcdae03c07e1d688fb1edd78e58ded /gps.c | |
parent | 68eca79dfdaec7dfd1c534f1d8daf8421ea94579 (diff) | |
download | subsurface-05990b107de746064486f4f1c79a2383e1dfd63f.tar.gz |
Fix saving of changed GPS entry
We can't use gps_changed() in the gps_map_callback function, because that
will actually change the GPS data in the dive being edited, which in turn
will then cause us to later (when we *really* want to change it) not match
the master dive data any more, and think we shouldn't edit the dive at
all.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'gps.c')
0 files changed, 0 insertions, 0 deletions