[mapserver-commits] r12165 - trunk/mapserver/mapcache/src
svn at osgeo.org
svn at osgeo.org
Fri Aug 26 07:03:38 EDT 2011
Author: tbonfort
Date: 2011-08-26 04:03:37 -0700 (Fri, 26 Aug 2011)
New Revision: 12165
Modified:
trunk/mapserver/mapcache/src/configuration.c
Log:
forgotten file for previous commit
thomas.bonfort | 2010-12-09 10:23:08 +0100 (Thu, 09 Dec 2010)
Modified: trunk/mapserver/mapcache/src/configuration.c
===================================================================
--- trunk/mapserver/mapcache/src/configuration.c 2011-08-26 11:03:33 UTC (rev 12164)
+++ trunk/mapserver/mapcache/src/configuration.c 2011-08-26 11:03:37 UTC (rev 12165)
@@ -177,7 +177,7 @@
ctx->set_error(ctx, GEOCACHE_PARSE_ERROR, "unknown tag %s for format \"%s\"", cur_node->name, name);
return;
}
- if(colors != -1) {
+ if(colors == -1) {
format = geocache_imageio_create_png_format(ctx->pool,name,compression);
} else {
format = geocache_imageio_create_png_q_format(ctx->pool,name,compression, colors);
More information about the mapserver-commits
mailing list