[mapserver-commits] r9014 - branches/branch-5-4/mapserver

svn at osgeo.org svn at osgeo.org
Thu May 14 15:52:59 EDT 2009


Author: sdlime
Date: 2009-05-14 15:52:59 -0400 (Thu, 14 May 2009)
New Revision: 9014

Modified:
   branches/branch-5-4/mapserver/mapserv.c
Log:
Fixed a problem with an error message with mode=legendicon, wrong string being output.

Modified: branches/branch-5-4/mapserver/mapserv.c
===================================================================
--- branches/branch-5-4/mapserver/mapserv.c	2009-05-13 14:40:50 UTC (rev 9013)
+++ branches/branch-5-4/mapserver/mapserv.c	2009-05-14 19:52:59 UTC (rev 9014)
@@ -1493,7 +1493,7 @@
       }
 
       if((layerindex = msGetLayerIndex(mapserv->map, tokens[0])) == -1) {
-        msSetError(MS_WEBERR, "Icon layer=%s not found in mapfile.", "mapserv()", GET_LAYER(mapserv->map, layerindex)->name);
+        msSetError(MS_WEBERR, "Icon layer=%s not found in mapfile.", "mapserv()", tokens[0]);
         writeError();
       }
 



More information about the mapserver-commits mailing list