[GRASS-SVN] r36652 - grass/branches/develbranch_6/raster/simwe/simlib

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Apr 9 04:42:34 EDT 2009


Author: neteler
Date: 2009-04-09 04:42:34 -0400 (Thu, 09 Apr 2009)
New Revision: 36652

Modified:
   grass/branches/develbranch_6/raster/simwe/simlib/hydro.c
Log:
more precise error message

Modified: grass/branches/develbranch_6/raster/simwe/simlib/hydro.c
===================================================================
--- grass/branches/develbranch_6/raster/simwe/simlib/hydro.c	2009-04-09 08:42:28 UTC (rev 36651)
+++ grass/branches/develbranch_6/raster/simwe/simlib/hydro.c	2009-04-09 08:42:34 UTC (rev 36652)
@@ -116,7 +116,7 @@
 			++lw;
 
 			if (lw > MAXW)
-			    G_fatal_error(_("nwalk > maxw!"));
+			    G_fatal_error(_("nwalk (%d) > maxw (%d)!"), lw, MAXW);
 
 			w[lw][1] = x + stepx * (ulec() - 0.5);
 			w[lw][2] = y + stepy * (ulec() - 0.5);



More information about the grass-commit mailing list