[GRASS-SVN] r55498 - grass/trunk/raster/r.watershed/seg

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Mar 22 10:42:43 PDT 2013


Author: mmetz
Date: 2013-03-22 10:42:42 -0700 (Fri, 22 Mar 2013)
New Revision: 55498

Modified:
   grass/trunk/raster/r.watershed/seg/close_maps.c
Log:
r.watershed: fix cut'n paste typo

Modified: grass/trunk/raster/r.watershed/seg/close_maps.c
===================================================================
--- grass/trunk/raster/r.watershed/seg/close_maps.c	2013-03-22 16:45:02 UTC (rev 55497)
+++ grass/trunk/raster/r.watershed/seg/close_maps.c	2013-03-22 17:42:42 UTC (rev 55498)
@@ -216,7 +216,7 @@
 	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);



More information about the grass-commit mailing list