summaryrefslogtreecommitdiffstats
path: root/info.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 /info.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 'info.c')
-rw-r--r--info.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/info.c b/info.c
index 65ad8b128..2916c0eaf 100644
--- a/info.c
+++ b/info.c
@@ -675,7 +675,7 @@ static void dive_info_widget(GtkWidget *box, struct dive *dive, struct dive_info
info->location = text_entry(box, _("Location"), location_list, dive->location);
- if (dive_has_location(dive))
+ if (dive_has_gps_location(dive))
print_gps_coordinates(gps_text, sizeof(gps_text), dive->latitude.udeg / 1000000.0,
dive->longitude.udeg / 1000000.0);
hbox = gtk_hbox_new(FALSE, 2);