[mapserver-commits] r7298 - trunk/mapserver
svn at osgeo.org
svn at osgeo.org
Wed Jan 23 09:33:20 EST 2008
Author: dmorissette
Date: 2008-01-23 09:33:20 -0500 (Wed, 23 Jan 2008)
New Revision: 7298
Modified:
trunk/mapserver/mapwms.c
Log:
Fixed generation of nested layers in WMS Capabilities when using
wms_layer_group metadata (#2312)
Modified: trunk/mapserver/mapwms.c
===================================================================
--- trunk/mapserver/mapwms.c 2008-01-23 14:27:25 UTC (rev 7297)
+++ trunk/mapserver/mapwms.c 2008-01-23 14:33:20 UTC (rev 7298)
@@ -1516,7 +1516,7 @@
return MS_FALSE;
}
/* compare all groups below the current level */
- for (i = 0; i < currentLevel; i++)
+ for (i = 0; i <= currentLevel; i++)
{
if (strncmp(currentGroups[i], otherGroups[i], strlen(currentGroups[i])) != 0)
{
More information about the mapserver-commits
mailing list