[GRASS-SVN] r45677 - grass/trunk/raster/r.fill.dir
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Mar 16 05:36:05 EDT 2011
Author: hcho
Date: 2011-03-16 02:36:05 -0700 (Wed, 16 Mar 2011)
New Revision: 45677
Modified:
grass/trunk/raster/r.fill.dir/main.c
Log:
Fixed a flag check
Modified: grass/trunk/raster/r.fill.dir/main.c
===================================================================
--- grass/trunk/raster/r.fill.dir/main.c 2011-03-16 09:35:02 UTC (rev 45676)
+++ grass/trunk/raster/r.fill.dir/main.c 2011-03-16 09:36:05 UTC (rev 45677)
@@ -200,7 +200,7 @@
/* mark and count the sinks in each internally drained basin */
nbasins = dopolys(fd, fm, nrows, ncols);
- if (flag1->answer == '0') {
+ if (flag1->answer) {
/* determine the watershed for each sink */
wtrshed(fm, fd, nrows, ncols, 4);
More information about the grass-commit
mailing list