From 10f937108826c87f07302fff70e8d6ae870d3cf0 Mon Sep 17 00:00:00 2001 From: artemp Date: Mon, 14 Oct 2013 12:12:41 +0100 Subject: [PATCH] + fix typo --- include/mapnik/png_io.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/mapnik/png_io.hpp b/include/mapnik/png_io.hpp index f01492198..a17da9b35 100644 --- a/include/mapnik/png_io.hpp +++ b/include/mapnik/png_io.hpp @@ -684,7 +684,7 @@ void save_as_png8_hex(T1 & file, //transparency values per palette index std::vector pal; tree.create_palette(pal); - assert(int(pal.size()) <= colors); + assert(int(pal.size()) <= opts.colors); std::vector palette; std::vector alphaTable; for(unsigned i=0; i