[mapserver-commits] r9015 - trunk/mapserver
svn at osgeo.org
svn at osgeo.org
Thu May 14 15:54:30 EDT 2009
Author: sdlime
Date: 2009-05-14 15:54:30 -0400 (Thu, 14 May 2009)
New Revision: 9015
Modified:
trunk/mapserver/mapserv.c
Log:
Fixed a problem with an error message with mode=legendicon, wrong string being output.
Modified: trunk/mapserver/mapserv.c
===================================================================
--- trunk/mapserver/mapserv.c 2009-05-14 19:52:59 UTC (rev 9014)
+++ trunk/mapserver/mapserv.c 2009-05-14 19:54:30 UTC (rev 9015)
@@ -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