[GRASS-SVN] r30625 - grass/trunk/raster/r.colors

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Mar 18 20:47:57 EDT 2008


Author: hamish
Date: 2008-03-18 20:47:57 -0400 (Tue, 18 Mar 2008)
New Revision: 30625

Modified:
   grass/trunk/raster/r.colors/rules.c
Log:
put string in bracket so you can see if it contains a newline, etc.

Modified: grass/trunk/raster/r.colors/rules.c
===================================================================
--- grass/trunk/raster/r.colors/rules.c	2008-03-18 21:47:19 UTC (rev 30624)
+++ grass/trunk/raster/r.colors/rules.c	2008-03-19 00:47:57 UTC (rev 30625)
@@ -129,7 +129,7 @@
     if (tty)
 	G_warning(_("bad rule (%s); rule not added"), err);
     else
-	G_fatal_error(_("bad rule (%s): %s"), err, s);
+	G_fatal_error(_("bad rule (%s): [%s]"), err, s);
 }
 
 static int show_colors (FILE *fp)



More information about the grass-commit mailing list