From: Pierre-Luc Beaudoin Date: Fri, 15 Aug 2008 23:29:15 +0000 (-0400) Subject: Debugging X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a2391ad32d824b07706993bffec9f2f1c4958637;p=libchamplain Debugging --- diff --git a/src/champlain_map_zoom_level.c b/src/champlain_map_zoom_level.c index 87b8651..b0519c6 100644 --- a/src/champlain_map_zoom_level.c +++ b/src/champlain_map_zoom_level.c @@ -48,7 +48,7 @@ champlain_map_zoom_level_create(ChamplainMapZoomLevel* level, gint zoom_level) clutter_color_parse ("blue", &blue); int i; - for (i = 0; i < 20; i++) + for (i = 0; i < level->row_count * level->column_count; i++) { int x = i % level->row_count; int y = i / level->row_count;