Kaynağa Gözat

Fixed a flag check

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@45677 15284696-431f-4ddb-bdfa-cd5b030d7da7
Huidae Cho 14 yıl önce
ebeveyn
işleme
bdf79a0545
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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);