[mapserver-commits] r9022 - trunk/mapserver
svn at osgeo.org
svn at osgeo.org
Fri May 15 15:14:31 EDT 2009
Author: sdlime
Date: 2009-05-15 15:14:30 -0400 (Fri, 15 May 2009)
New Revision: 9022
Modified:
trunk/mapserver/maptemplate.c
Log:
Fixed a problem with a few of the tag processors (e.g. processItemTag()) to use the supplied end-of-tag finding function rather than just a strchr().
Modified: trunk/mapserver/maptemplate.c
===================================================================
--- trunk/mapserver/maptemplate.c 2009-05-15 19:12:45 UTC (rev 9021)
+++ trunk/mapserver/maptemplate.c 2009-05-15 19:14:30 UTC (rev 9022)
@@ -1068,7 +1068,7 @@
fclose(includeStream);
/* find the end of the tag */
- tagEnd = strchr(tagStart, ']');
+ tagEnd = findTagEnd(tagStart);
tagEnd++;
/* build the complete tag so we can do substitution */
@@ -1228,7 +1228,7 @@
}
/* find the end of the tag */
- tagEnd = strchr(tagStart, ']');
+ tagEnd = findTagEnd(tagStart);
tagEnd++;
/* build the complete tag so we can do substitution */
@@ -1394,7 +1394,7 @@
tagValue = msReplaceSubstring(tagValue, "$maxy", number);
/* find the end of the tag */
- tagEnd = strchr(tagStart, ']');
+ tagEnd = findTagEnd(tagStart);
tagEnd++;
/* build the complete tag so we can do substitution */
More information about the mapserver-commits
mailing list