+ fix typo

This commit is contained in:
artemp 2013-10-14 12:12:41 +01:00
parent 765dda465c
commit 10f9371088

View file

@ -684,7 +684,7 @@ void save_as_png8_hex(T1 & file,
//transparency values per palette index
std::vector<mapnik::rgba> pal;
tree.create_palette(pal);
assert(int(pal.size()) <= colors);
assert(int(pal.size()) <= opts.colors);
std::vector<mapnik::rgb> palette;
std::vector<unsigned> alphaTable;
for(unsigned i=0; i<pal.size(); i++)