From b10c5d2c5ee3e27bb54fef3796d1bdac2cff2f6e Mon Sep 17 00:00:00 2001 From: Kaj-Michael Lang Date: Fri, 1 Aug 2008 15:05:23 +0300 Subject: [PATCH] Repo: Loop from min_zoom to max_zoom --- src/map-repo-manager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5