[mapserver-commits] r7254 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Thu Jan 10 10:31:06 EST 2008


Author: sdlime
Date: 2008-01-10 10:31:06 -0500 (Thu, 10 Jan 2008)
New Revision: 7254

Modified:
   trunk/mapserver/mapcopy.c
Log:
Fixed a problem copying attribute bindings between style and labels. (bug #2465)

Modified: trunk/mapserver/mapcopy.c
===================================================================
--- trunk/mapserver/mapcopy.c	2008-01-10 14:48:35 UTC (rev 7253)
+++ trunk/mapserver/mapcopy.c	2008-01-10 15:31:06 UTC (rev 7254)
@@ -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