[mapserver-commits] r9224 - trunk/mapserver
svn at osgeo.org
svn at osgeo.org
Sun Jul 26 07:01:48 EDT 2009
Author: tamas
Date: 2009-07-26 07:01:47 -0400 (Sun, 26 Jul 2009)
New Revision: 9224
Modified:
trunk/mapserver/mapdraw.c
Log:
Fixed the compilation issue caused by a recent commit
Modified: trunk/mapserver/mapdraw.c
===================================================================
--- trunk/mapserver/mapdraw.c 2009-07-23 21:04:05 UTC (rev 9223)
+++ trunk/mapserver/mapdraw.c 2009-07-26 11:01:47 UTC (rev 9224)
@@ -1981,9 +1981,10 @@
{
/* Bug #1620 implementation */
if(layer->class[c]->label.autofollow == MS_TRUE) {
+ labelObj label;
layer->class[c]->label.position = MS_CC; /* Force all label positions to MS_CC regardless if a path is computed */
- labelObj label = layer->class[c]->label;
+ label = layer->class[c]->label;
if(layer->labelcache) {
if(msAddLabel(map, layer->index, c, shape, NULL, annopaths[i], shape->text, 0.0, &label) != MS_SUCCESS) return(MS_FAILURE);
More information about the mapserver-commits
mailing list