[mapserver-commits] r13231 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Mon Mar 12 06:53:47 EDT 2012


Author: tbonfort
Date: 2012-03-12 03:53:46 -0700 (Mon, 12 Mar 2012)
New Revision: 13231

Modified:
   trunk/mapserver/mapfile.c
Log:
return error message if LEADER was set on LABEL


Modified: trunk/mapserver/mapfile.c
===================================================================
--- trunk/mapserver/mapfile.c	2012-03-10 17:59:44 UTC (rev 13230)
+++ trunk/mapserver/mapfile.c	2012-03-12 10:53:46 UTC (rev 13231)
@@ -1856,6 +1856,8 @@
     case(LABEL):
       break; /* for string loads */
     case(LEADER):
+      msSetError(MS_MISCERR, "LABEL LEADER not implemented. LEADER goes at the CLASS level." , "loadLabel()");
+      return(-1);
       if(loadLeader(&(label->leader)) == -1) return(-1);
       break;
     case(MAXSIZE):      



More information about the mapserver-commits mailing list