[GRASS-SVN] r65292 - grass/trunk/raster/r.clump

svn_grass at osgeo.org svn_grass at osgeo.org
Wed May 20 06:18:57 PDT 2015


Author: neteler
Date: 2015-05-20 06:18:56 -0700 (Wed, 20 May 2015)
New Revision: 65292

Modified:
   grass/trunk/raster/r.clump/clump.c
Log:
r.clump: G_percent() step cosmetics

Modified: grass/trunk/raster/r.clump/clump.c
===================================================================
--- grass/trunk/raster/r.clump/clump.c	2015-05-20 13:04:08 UTC (rev 65291)
+++ grass/trunk/raster/r.clump/clump.c	2015-05-20 13:18:56 UTC (rev 65292)
@@ -95,7 +95,7 @@
     for (row = 0; row < nrows; row++) {
 	Rast_get_c_row(in_fd, cur_in + 1, row);
 
-	G_percent(row, nrows, 4);
+	G_percent(row, nrows, 2);
 	Rast_set_c_null_value(&X, 1);
 	for (col = 1; col <= ncols; col++) {
 	    LEFT = X;
@@ -265,7 +265,7 @@
 	G_message(_("Pass 2 of 2..."));
 	for (row = 0; row < nrows; row++) {
 
-	    G_percent(row, nrows, 4);
+	    G_percent(row, nrows, 2);
 	
 	    if (read(cfd, cur_clump, csize) != csize)
 		G_fatal_error(_("Unable to read from temp file"));



More information about the grass-commit mailing list