[GRASS-SVN] r36651 - grass/trunk/raster/simwe/simlib
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Apr 9 04:42:28 EDT 2009
Author: neteler
Date: 2009-04-09 04:42:28 -0400 (Thu, 09 Apr 2009)
New Revision: 36651
Modified:
grass/trunk/raster/simwe/simlib/hydro.c
Log:
more precise error message
Modified: grass/trunk/raster/simwe/simlib/hydro.c
===================================================================
--- grass/trunk/raster/simwe/simlib/hydro.c 2009-04-09 08:37:01 UTC (rev 36650)
+++ grass/trunk/raster/simwe/simlib/hydro.c 2009-04-09 08:42:28 UTC (rev 36651)
@@ -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