summaryrefslogtreecommitdiffstats
path: root/gps.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-01-31 14:44:14 +1100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-01-31 14:44:14 +1100
commit36b34bd5a5abdfabbd0f3ab0bb0d33e6e3477dd9 (patch)
treedaccb7c8d172fa8c87efd79de3620dedf4996772 /gps.c
parentaef211030db06b5394384f3b22a1226263506a9b (diff)
parent635c28923d28335bb7d39f95c17c2edbf16ee2ac (diff)
downloadsubsurface-36b34bd5a5abdfabbd0f3ab0bb0d33e6e3477dd9.tar.gz
Merge branch 'integrate-from-webservice'
Bring in the better implementation of merging gps locations from the webservice
Diffstat (limited to 'gps.c')
-rw-r--r--gps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gps.c b/gps.c
index 31be2bbc5..15ee65830 100644
--- a/gps.c
+++ b/gps.c
@@ -242,7 +242,7 @@ void show_gps_locations()
map = init_map();
for_each_dive(idx, dive) {
- if (dive_has_location(dive)) {
+ if (dive_has_gps_location(dive)) {
add_gps_point(map, dive->latitude.udeg / 1000000.0,
dive->longitude.udeg / 1000000.0);
}