[mapserver-commits] r10325 - sandbox/mapserver6

svn at osgeo.org svn at osgeo.org
Fri Jul 9 05:15:30 EDT 2010


Author: tbonfort
Date: 2010-07-09 09:15:30 +0000 (Fri, 09 Jul 2010)
New Revision: 10325

Modified:
   sandbox/mapserver6/mapsymbol.c
Log:
fix bug with inline image symbols


Modified: sandbox/mapserver6/mapsymbol.c
===================================================================
--- sandbox/mapserver6/mapsymbol.c	2010-07-09 07:09:12 UTC (rev 10324)
+++ sandbox/mapserver6/mapsymbol.c	2010-07-09 09:15:30 UTC (rev 10325)
@@ -425,9 +425,8 @@
   symbol->name = strdup(filename);
   symbol->imagepath = strdup(filename);
   symbol->type = MS_SYMBOL_PIXMAP;
-  symbolset->numsymbols++;
 
-  return(symbolset->numsymbols);
+  return(symbolset->numsymbols++);
 }
 
 int msFreeSymbolSet(symbolSetObj *symbolset)



More information about the mapserver-commits mailing list