From c94344750934bb044049808c7d4b9e12187fae34 Mon Sep 17 00:00:00 2001 From: Artem Pavlenko Date: Mon, 19 Jul 2010 11:10:20 +0000 Subject: [PATCH] + fix comment --- src/agg/agg_renderer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/agg/agg_renderer.cpp b/src/agg/agg_renderer.cpp index 17c1a6fe7..5e5013c6f 100644 --- a/src/agg/agg_renderer.cpp +++ b/src/agg/agg_renderer.cpp @@ -133,7 +133,7 @@ agg_renderer::agg_renderer(Map const& m, T & pixmap, double scale_factor, uns int h = (*bg_image)->height(); if ( w > 0 && h > 0) { - // repeat background-image in both x,y + // repeat background-image both vertically and horizontally unsigned x_steps = unsigned(std::ceil(width_/double(w))); unsigned y_steps = unsigned(std::ceil(height_/double(h))); for (unsigned x=0;x