[mapserver-commits] r11446 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Fri Apr 1 15:32:33 EDT 2011


Author: assefa
Date: 2011-04-01 12:32:33 -0700 (Fri, 01 Apr 2011)
New Revision: 11446

Modified:
   trunk/mapserver/maprendering.c
Log:
fx windows build

Modified: trunk/mapserver/maprendering.c
===================================================================
--- trunk/mapserver/maprendering.c	2011-04-01 18:39:09 UTC (rev 11445)
+++ trunk/mapserver/maprendering.c	2011-04-01 19:32:33 UTC (rev 11446)
@@ -452,6 +452,7 @@
             } else {
                if(renderer->renderLineTiled != NULL) {
                   int pw,ph;
+                  imageObj* tile=NULL;
                   if(s.scale != 1) {
                      pw = MS_NINT(symbol->sizex * s.scale)+1;
                      ph = MS_NINT(symbol->sizey * s.scale)+1;
@@ -461,7 +462,7 @@
                   }
                   if(pw<1) pw=1;
                   if(ph<1) ph=1;
-                  imageObj* tile = getTile(image, symbol,&s,pw,ph,0);
+                  tile = getTile(image, symbol,&s,pw,ph,0);
                   renderer->renderLineTiled(image, p, tile);
                } else {
                   msSetError(MS_RENDERERERR, "renderer does not support brushed lines", "msDrawLineSymbol()");



More information about the mapserver-commits mailing list