[mapserver-commits] r12964 - sandbox/inspire_soc2011/mapserver
svn at osgeo.org
svn at osgeo.org
Wed Jan 4 11:26:27 EST 2012
Author: schpidi
Date: 2012-01-04 08:26:27 -0800 (Wed, 04 Jan 2012)
New Revision: 12964
Modified:
sandbox/inspire_soc2011/mapserver/mapows.c
Log:
Adjusting previous commit.
Modified: sandbox/inspire_soc2011/mapserver/mapows.c
===================================================================
--- sandbox/inspire_soc2011/mapserver/mapows.c 2012-01-04 14:19:19 UTC (rev 12963)
+++ sandbox/inspire_soc2011/mapserver/mapows.c 2012-01-04 16:26:27 UTC (rev 12964)
@@ -1734,7 +1734,8 @@
for(kw=0; kw<numkeywords; kw++)
{
if (default_value != NULL
- && strncasecmp(keywords[kw],default_value,strlen(keywords[kw])) == 0)
+ && strncasecmp(keywords[kw],default_value,strlen(keywords[kw])) == 0
+ && strncasecmp("_exclude",default_value+strlen(default_value)-8,8) == 0)
continue;
msIO_fprintf(stream, itemFormat, keywords[kw]);
@@ -1785,7 +1786,8 @@
for(kw=0; kw<numkeywords; kw++)
{
if (default_value != NULL
- && strncasecmp(keywords[kw],default_value,strlen(keywords[kw])) == 0)
+ && strncasecmp(keywords[kw],default_value,strlen(keywords[kw])) == 0
+ && strncasecmp("_exclude",default_value+strlen(default_value)-8,8) == 0)
continue;
encoded = msEncodeHTMLEntities(keywords[kw]);
More information about the mapserver-commits
mailing list