浏览代码

Fixed a flag check

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@45677 15284696-431f-4ddb-bdfa-cd5b030d7da7
Huidae Cho 14 年之前
父节点
当前提交
bdf79a0545
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      raster/r.fill.dir/main.c

+ 1 - 1
raster/r.fill.dir/main.c

@@ -200,7 +200,7 @@ int main(int argc, char **argv)
 
     /* 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);