]> err.no Git - libchamplain/commitdiff
Debugging
authorPierre-Luc Beaudoin <pierre-luc@squidy.info>
Fri, 15 Aug 2008 23:29:15 +0000 (19:29 -0400)
committerPierre-Luc Beaudoin <pierre-luc@squidy.info>
Fri, 15 Aug 2008 23:29:15 +0000 (19:29 -0400)
src/champlain_map_zoom_level.c

index 87b865108f3845eb8751b59a7cc81f1974f25f70..b0519c6d04cb4ba6506c9ca73dbd36ce65cd8921 100644 (file)
@@ -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;