Browse Source

r.what: stderr -> G_warning (point outside of the region)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@54525 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 12 years ago
parent
commit
405f57c502
1 changed files with 2 additions and 3 deletions
  1. 2 3
      raster/r.what/main.c

+ 2 - 3
raster/r.what/main.c

@@ -347,9 +347,8 @@ int main(int argc, char *argv[])
 
 
 	    if (!in_window) {
 	    if (!in_window) {
 		if (tty)
 		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) {
 	    if (cur_row != cache[point].row) {