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

svn at osgeo.org svn at osgeo.org
Thu Jan 10 10:32:46 EST 2008


Author: sdlime
Date: 2008-01-10 10:32:46 -0500 (Thu, 10 Jan 2008)
New Revision: 7255

Modified:
   branches/branch-5-0/mapserver/mapcopy.c
Log:
Fixed a problem copying attribute bindings between style and labels. (bug #2465)

Modified: branches/branch-5-0/mapserver/mapcopy.c
===================================================================
--- branches/branch-5-0/mapserver/mapcopy.c	2008-01-10 15:31:06 UTC (rev 7254)
+++ branches/branch-5-0/mapserver/mapcopy.c	2008-01-10 15:32:46 UTC (rev 7255)
@@ -255,6 +255,7 @@
     MS_COPYSTRING(dst->bindings[i].item, src->bindings[i].item);
     dst->bindings[i].index = src->bindings[i].index; /* no way to use the macros */
   }
+  MS_COPYSTELEM(numbindings);
 
     MS_COPYSTRING(dst->font, src->font);
     MS_COPYSTELEM(type);
@@ -355,6 +356,7 @@
     MS_COPYSTRING(dst->bindings[i].item, src->bindings[i].item);
     dst->bindings[i].index = src->bindings[i].index; /* no way to use the macros */
   }
+  MS_COPYSTELEM(numbindings);
 
     MS_COPYCOLOR(&(dst->color), &(src->color));
     MS_COPYCOLOR(&(dst->outlinecolor),&(src->outlinecolor));



More information about the mapserver-commits mailing list