[mapserver-commits] r11517 - trunk/mapserver
svn at osgeo.org
svn at osgeo.org
Mon Apr 11 05:30:49 EDT 2011
Author: tbonfort
Date: 2011-04-11 02:30:49 -0700 (Mon, 11 Apr 2011)
New Revision: 11517
Modified:
trunk/mapserver/maplegend.c
Log:
fix compiler warning, test for MS_RENDERER_PLUGIN has allready been done at the beginning of the function
Modified: trunk/mapserver/maplegend.c
===================================================================
--- trunk/mapserver/maplegend.c 2011-04-11 09:25:36 UTC (rev 11516)
+++ trunk/mapserver/maplegend.c 2011-04-11 09:30:49 UTC (rev 11517)
@@ -70,7 +70,7 @@
altFormat, image->imagepath, image->imageurl, map->resolution, map->defresolution, &map->imagecolor);
renderer = MS_IMAGE_RENDERER(image_draw);
}
- else if (MS_RENDERER_PLUGIN(image_draw->format)) {
+ else {
renderer = MS_IMAGE_RENDERER(image_draw);
if (lp->opacity > 0 && lp->opacity < 100) {
if (!renderer->supports_transparent_layers) {
More information about the mapserver-commits
mailing list