[mapserver-commits] r11387 - in trunk/mapserver: . mapscript/php
svn at osgeo.org
svn at osgeo.org
Wed Mar 30 10:36:07 EDT 2011
Author: aboudreault
Date: 2011-03-30 07:36:07 -0700 (Wed, 30 Mar 2011)
New Revision: 11387
Modified:
trunk/mapserver/HISTORY.TXT
trunk/mapserver/mapscript/php/symbol.c
Log:
Fixed PHP/MapScript symbol property setter method
Modified: trunk/mapserver/HISTORY.TXT
===================================================================
--- trunk/mapserver/HISTORY.TXT 2011-03-30 14:06:43 UTC (rev 11386)
+++ trunk/mapserver/HISTORY.TXT 2011-03-30 14:36:07 UTC (rev 11387)
@@ -14,6 +14,9 @@
Current Version (SVN trunk):
----------------------------
+
+- Fixed PHP/MapScript symbol property setter method
+
- fix memory leak in bar charts
- fix some valgrind errors on agg rotated pixmap symbols
Modified: trunk/mapserver/mapscript/php/symbol.c
===================================================================
--- trunk/mapserver/mapscript/php/symbol.c 2011-03-30 14:06:43 UTC (rev 11386)
+++ trunk/mapserver/mapscript/php/symbol.c 2011-03-30 14:36:07 UTC (rev 11387)
@@ -167,7 +167,7 @@
else IF_SET_LONG("antialias", php_symbol->symbol->antialias, value)
else IF_SET_STRING("font", php_symbol->symbol->font, value)
else IF_SET_LONG("position", php_symbol->symbol->position, value)
- if ( (STRING_EQUAL("numpoints", property)) ||
+ else if ( (STRING_EQUAL("numpoints", property)) ||
(STRING_EQUAL("patternlength", property)) ||
(STRING_EQUAL("imagepath", property)))
{
More information about the mapserver-commits
mailing list