From: Kaj-Michael Lang Date: Fri, 1 Aug 2008 12:05:23 +0000 (+0300) Subject: Repo: Loop from min_zoom to max_zoom X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b10c5d2c5ee3e27bb54fef3796d1bdac2cff2f6e;p=mapper Repo: Loop from min_zoom to max_zoom --- diff --git a/src/map-repo-manager.c b/src/map-repo-manager.c index fac28e0..42efc4c 100644 --- a/src/map-repo-manager.c +++ b/src/map-repo-manager.c @@ -554,7 +554,7 @@ if (start_unity > end_unity) { } /* First, get the number of maps to download. */ -for (i = 0; i < _curr_repo->max_zoom; i++) { +for (i = _curr_repo->min_zoom; i < _curr_repo->max_zoom; i++) { if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(mapman_info->chk_zoom_levels[i]))) { guint start_tilex, start_tiley, end_tilex, end_tiley;