[GRASS-SVN] r70567 - grass/branches/releasebranch_7_2/raster/r.what

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Feb 14 13:42:42 PST 2017


Author: neteler
Date: 2017-02-14 13:42:42 -0800 (Tue, 14 Feb 2017)
New Revision: 70567

Modified:
   grass/branches/releasebranch_7_2/raster/r.what/main.c
Log:
r.what: number of provided files is not know at this point (trunk, r70396)

Modified: grass/branches/releasebranch_7_2/raster/r.what/main.c
===================================================================
--- grass/branches/releasebranch_7_2/raster/r.what/main.c	2017-02-14 21:37:59 UTC (rev 70566)
+++ grass/branches/releasebranch_7_2/raster/r.what/main.c	2017-02-14 21:42:42 UTC (rev 70567)
@@ -198,8 +198,9 @@
 	char name[GNAME_MAX];
 
 	if (nfiles >= NFILES)
-	    G_fatal_error(_("Can only do up to %d raster maps (%d given)"),
-			  NFILES, nfiles);
+	    G_fatal_error(_("Can only do up to %d raster maps"
+				" (more than %d given)"),
+			  NFILES, NFILES);
 
 	strcpy(name, *ptr);
 	fd[nfiles] = Rast_open_old(name, "");



More information about the grass-commit mailing list