From 970c1dc21b3c54ff7c2d9290cf20e3141bc57a86 Mon Sep 17 00:00:00 2001 From: Kaj-Michael Lang Date: Thu, 13 Mar 2008 15:51:52 +0200 Subject: [PATCH] Function rename --- src/map-download.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/map-download.c b/src/map-download.c index 30d9ce0..3e0ff7a 100644 --- a/src/map-download.c +++ b/src/map-download.c @@ -136,7 +136,7 @@ while (_curl_multi && (msg = curl_multi_info_read(_curl_multi, &num_msgs))) { route_find_nearest_point(); map_force_redraw(); } - cancel_autoroute(TRUE); /* We're done. Clean up. */ + route_cancel_autoroute(TRUE); /* We're done. Clean up. */ } else { ProgressUpdateInfo *pui = g_hash_table_lookup(pui_by_easy, msg->easy_handle); g_queue_push_head(curl_easy_queue, msg->easy_handle); @@ -406,6 +406,7 @@ if (!pui->retries || g_file_test(pui->dest_str, G_FILE_TEST_EXISTS)) { guint tilex, tiley, tilex_end, tiley_end; for (tilex = pui->tilex << zoom_diff, tilex_end = tilex + (1 << zoom_diff); tilex < tilex_end; tilex++) { for (tiley = pui->tiley << zoom_diff, tiley_end = tiley + (1 << zoom_diff); tiley < tiley_end; tiley++) { + g_debug("MDIR: %d %d", tilex, tiley); if (map_render_tile(tilex, tiley, ((tilex - _base_tilex) << TILE_SIZE_P2), ((tiley - _base_tiley) << TILE_SIZE_P2), TRUE)==TRUE) { map_render_data(); gtk_widget_queue_draw_area(_map_widget, -- 2.39.5