[mapserver-commits] r7134 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Sat Dec 1 06:12:32 EST 2007


Author: tbonfort
Date: 2007-12-01 06:12:31 -0500 (Sat, 01 Dec 2007)
New Revision: 7134

Modified:
   trunk/mapserver/mapfile.c
Log:
print error message when error decoding hex color

Modified: trunk/mapserver/mapfile.c
===================================================================
--- trunk/mapserver/mapfile.c	2007-12-01 11:04:19 UTC (rev 7133)
+++ trunk/mapserver/mapfile.c	2007-12-01 11:12:31 UTC (rev 7134)
@@ -360,6 +360,7 @@
     }
 
     /* TODO: consider named colors here */
+    msSetError(MS_SYMERR, "Invalid hex color (%s):(line %d)", "loadColor()", msyytext, msyylineno); 
     return MS_FAILURE;
   } else {
     binding->item = strdup(msyytext);



More information about the mapserver-commits mailing list