summaryrefslogtreecommitdiffstats
path: root/gtk-gui.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-05-14 20:30:17 -0400
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-05-14 20:30:17 -0400
commit41a97bc1ae1d16053d5f0374c319a9011ffe06a2 (patch)
tree0f1005620e0d60abce5c7da01e0ff1c67b64e98f /gtk-gui.c
parent4893d77d278e8e0aca4c7b3a31e1a4633b14c1fa (diff)
downloadsubsurface-41a97bc1ae1d16053d5f0374c319a9011ffe06a2.tar.gz
Consistently end the list of map providers with Yahoo streetmaps
The other map providers don't appear to work at all, regardless from where I connect to the network. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'gtk-gui.c')
-rw-r--r--gtk-gui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk-gui.c b/gtk-gui.c
index 90476306b..167fac162 100644
--- a/gtk-gui.c
+++ b/gtk-gui.c
@@ -726,11 +726,11 @@ static GtkWidget * map_provider_widget()
/* several of the providers seem to be redundant or non-functional;
* we may have to skip more than just the last three eventually */
- for (i = OSM_GPS_MAP_SOURCE_OPENSTREETMAP; i < OSM_GPS_MAP_SOURCE_LAST; i++)
+ for (i = OSM_GPS_MAP_SOURCE_OPENSTREETMAP; i <= OSM_GPS_MAP_SOURCE_YAHOO_STREET; i++)
gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(combobox), osm_gps_map_source_get_friendly_name(i));
#else
GtkWidget *combobox = gtk_combo_box_new_text();
- for (i = OSM_GPS_MAP_SOURCE_OPENSTREETMAP; i < OSM_GPS_MAP_SOURCE_LAST; i++)
+ for (i = OSM_GPS_MAP_SOURCE_OPENSTREETMAP; i <= OSM_GPS_MAP_SOURCE_YAHOO_STREET; i++)
gtk_combo_box_append_text(GTK_COMBO_BOX(combobox), osm_gps_map_source_get_friendly_name(i));
#endif
/* we don't offer choice 0 (none), so the index here is off by one */