[mapserver-commits] r9021 - branches/branch-5-4/mapserver
svn at osgeo.org
svn at osgeo.org
Fri May 15 15:12:45 EDT 2009
Author: sdlime
Date: 2009-05-15 15:12:45 -0400 (Fri, 15 May 2009)
New Revision: 9021
Modified:
branches/branch-5-4/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: branches/branch-5-4/mapserver/maptemplate.c
===================================================================
--- branches/branch-5-4/mapserver/maptemplate.c 2009-05-15 17:39:48 UTC (rev 9020)
+++ branches/branch-5-4/mapserver/maptemplate.c 2009-05-15 19:12:45 UTC (rev 9021)
@@ -1066,7 +1066,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 */
@@ -1392,7 +1392,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