]> err.no Git - mapper/commitdiff
Function rename
authorKaj-Michael Lang <milang@onion.tal.org>
Thu, 13 Mar 2008 13:51:52 +0000 (15:51 +0200)
committerKaj-Michael Lang <milang@onion.tal.org>
Thu, 13 Mar 2008 13:51:52 +0000 (15:51 +0200)
src/map-download.c

index 30d9ce0966d9cbe1056b6b64b2e15d3726ec80b8..3e0ff7a4ea4ba66ad174d0916208bc3db6cc03fb 100644 (file)
@@ -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,