[mapserver-commits] r7297 - branches/branch-5-0/mapserver

svn at osgeo.org svn at osgeo.org
Wed Jan 23 09:27:25 EST 2008


Author: dmorissette
Date: 2008-01-23 09:27:25 -0500 (Wed, 23 Jan 2008)
New Revision: 7297

Modified:
   branches/branch-5-0/mapserver/HISTORY.TXT
   branches/branch-5-0/mapserver/mapwms.c
Log:
Fixed generation of nested layers in WMS Capabilities when using 
wms_layer_group metadata (#2312)


Modified: branches/branch-5-0/mapserver/HISTORY.TXT
===================================================================
--- branches/branch-5-0/mapserver/HISTORY.TXT	2008-01-23 13:15:20 UTC (rev 7296)
+++ branches/branch-5-0/mapserver/HISTORY.TXT	2008-01-23 14:27:25 UTC (rev 7297)
@@ -61,7 +61,10 @@
 - mapresample.c: Fixed support for multi-band data in RAW mode for bilinear
   and nearest neighbour resamplers (#2364).
 
+- Fixed generation of nested layers in WMS Capabilities when using 
+  wms_layer_group metadata (#2312)
 
+
 Version 5.0.0 (2007-09-17)
 --------------------------
 

Modified: branches/branch-5-0/mapserver/mapwms.c
===================================================================
--- branches/branch-5-0/mapserver/mapwms.c	2008-01-23 13:15:20 UTC (rev 7296)
+++ branches/branch-5-0/mapserver/mapwms.c	2008-01-23 14:27:25 UTC (rev 7297)
@@ -1414,7 +1414,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