Browse Source

r.watershed: fix cut'n paste typo

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@55498 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 12 years ago
parent
commit
c52e07c013
1 changed files with 1 additions and 1 deletions
  1. 1 1
      raster/r.watershed/seg/close_maps.c

+ 1 - 1
raster/r.watershed/seg/close_maps.c

@@ -216,7 +216,7 @@ int close_maps(void)
 	afbuf = G_malloc(ncols * sizeof(ASP_FLAG));
 	seg_flush(&aspflag);
 
-	fd = Rast_open_new(wat_name, DCELL_TYPE);
+	fd = Rast_open_new(asp_name, CELL_TYPE);
 
 	for (r = 0; r < nrows; r++) {
 	    G_percent(r, nrows, 1);