[GRASS-SVN] r54525 - grass/trunk/raster/r.what

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Jan 4 05:51:56 PST 2013


Author: martinl
Date: 2013-01-04 05:51:55 -0800 (Fri, 04 Jan 2013)
New Revision: 54525

Modified:
   grass/trunk/raster/r.what/main.c
Log:
r.what: stderr -> G_warning (point outside of the region)


Modified: grass/trunk/raster/r.what/main.c
===================================================================
--- grass/trunk/raster/r.what/main.c	2013-01-04 13:29:48 UTC (rev 54524)
+++ grass/trunk/raster/r.what/main.c	2013-01-04 13:51:55 UTC (rev 54525)
@@ -347,9 +347,8 @@
 
 	    if (!in_window) {
 		if (tty)
-		    fprintf(stderr,
-			    "** note ** %s %s is outside your current window\n",
-			    cache[point].east_buf, cache[point].north_buf);
+		    G_warning(_("%s %s is outside your current region"),
+			      cache[point].east_buf, cache[point].north_buf);
 	    }
 
 	    if (cur_row != cache[point].row) {



More information about the grass-commit mailing list