[mapserver-commits] r8574 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Wed Feb 18 05:09:17 EST 2009


Author: tamas
Date: 2009-02-18 05:09:17 -0500 (Wed, 18 Feb 2009)
New Revision: 8574

Modified:
   trunk/mapserver/HISTORY.TXT
   trunk/mapserver/mapsymbol.c
Log:
Set the default symbol size to 1 instead of 0 (#2896)

Modified: trunk/mapserver/HISTORY.TXT
===================================================================
--- trunk/mapserver/HISTORY.TXT	2009-02-18 05:40:39 UTC (rev 8573)
+++ trunk/mapserver/HISTORY.TXT	2009-02-18 10:09:17 UTC (rev 8574)
@@ -12,6 +12,8 @@
 Current Version (5.3-dev, SVN trunk):
 ------------------------------------
 
+- Set the default symbol size to 1 instead of 0 (#2896)
+
 - fix WMS LegendURL to print sld_version for 1.3.0 Capabilities (#473)
 
 - add GetSchemaExtension to WMS to support GetStyles in Capabilities XML (#473)

Modified: trunk/mapserver/mapsymbol.c
===================================================================
--- trunk/mapserver/mapsymbol.c	2009-02-18 05:40:39 UTC (rev 8573)
+++ trunk/mapserver/mapsymbol.c	2009-02-18 10:09:17 UTC (rev 8574)
@@ -1,5 +1,5 @@
 /******************************************************************************
- * $Id:$
+ * $Id$
  *
  * Project:  MapServer
  * Purpose:  symbolObj related functions.
@@ -128,8 +128,8 @@
   s->transparent = MS_FALSE;
   s->transparentcolor = 0;
   s->patternlength = 0; /* solid line */
-  s->sizex = 0;
-  s->sizey = 0;
+  s->sizex = 1;
+  s->sizey = 1;
   s->filled = MS_FALSE;
   s->numpoints=0;
   s->img = NULL;



More information about the mapserver-commits mailing list