[mapserver-commits] r11308 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Wed Mar 23 10:45:08 EDT 2011


Author: tbonfort
Date: 2011-03-23 07:45:08 -0700 (Wed, 23 Mar 2011)
New Revision: 11308

Modified:
   trunk/mapserver/mapscale.c
Log:
fix crash in scalebar rendering


Modified: trunk/mapserver/mapscale.c
===================================================================
--- trunk/mapserver/mapscale.c	2011-03-23 01:58:18 UTC (rev 11307)
+++ trunk/mapserver/mapscale.c	2011-03-23 14:45:08 UTC (rev 11308)
@@ -165,6 +165,7 @@
   shapeObj shape;
   lineObj line;
   pointObj points[5];
+  strokeStyle.patternlength=0;
   rendererVTableObj *renderer;
   
   if(map->units == -1) {



More information about the mapserver-commits mailing list