[GRASS-SVN] r52872 - grass/trunk/raster/r.fill.dir
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Aug 24 04:08:07 PDT 2012
Author: mmetz
Date: 2012-08-24 04:08:07 -0700 (Fri, 24 Aug 2012)
New Revision: 52872
Modified:
grass/trunk/raster/r.fill.dir/main.c
Log:
r.fill.dir: fix flag behaviour
Modified: grass/trunk/raster/r.fill.dir/main.c
===================================================================
--- grass/trunk/raster/r.fill.dir/main.c 2012-08-24 09:25:37 UTC (rev 52871)
+++ grass/trunk/raster/r.fill.dir/main.c 2012-08-24 11:08:07 UTC (rev 52872)
@@ -200,7 +200,7 @@
/* mark and count the sinks in each internally drained basin */
nbasins = dopolys(fd, fm, nrows, ncols);
- if (flag1->answer) {
+ if (!flag1->answer) {
/* determine the watershed for each sink */
wtrshed(fm, fd, nrows, ncols, 4);
More information about the grass-commit
mailing list