[mapserver-commits] r10409 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Wed Jul 28 14:53:03 EDT 2010


Author: sdlime
Date: 2010-07-28 18:53:03 +0000 (Wed, 28 Jul 2010)
New Revision: 10409

Modified:
   trunk/mapserver/maptemplate.c
Log:
Fixed a bug that wouldn't allow consectutive [item ...] tags with no chars in between.

Modified: trunk/mapserver/maptemplate.c
===================================================================
--- trunk/mapserver/maptemplate.c	2010-07-28 17:15:10 UTC (rev 10408)
+++ trunk/mapserver/maptemplate.c	2010-07-28 18:53:03 UTC (rev 10409)
@@ -1271,10 +1271,7 @@
     msFree(tagValue); tagValue=NULL;
     msFree(encodedTagValue); encodedTagValue=NULL;
 
-    if((*line)[tagOffset] != '\0')
-      tagStart = findTag(*line+tagOffset+1, "item");
-    else
-      tagStart = NULL;
+    tagStart = findTag(*line, "item");
   }
 
   return(MS_SUCCESS);



More information about the mapserver-commits mailing list