[GRASS-SVN] r65293 - grass/branches/releasebranch_7_0/raster/r.clump

svn_grass at osgeo.org svn_grass at osgeo.org
Wed May 20 06:19:26 PDT 2015


Author: neteler
Date: 2015-05-20 06:19:26 -0700 (Wed, 20 May 2015)
New Revision: 65293

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

Modified: grass/branches/releasebranch_7_0/raster/r.clump/clump.c
===================================================================
--- grass/branches/releasebranch_7_0/raster/r.clump/clump.c	2015-05-20 13:18:56 UTC (rev 65292)
+++ grass/branches/releasebranch_7_0/raster/r.clump/clump.c	2015-05-20 13:19:26 UTC (rev 65293)
@@ -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