[GRASS-SVN] r36494 - grass/trunk/lib/vector/Vlib

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Mar 27 09:38:24 EDT 2009


Author: mmetz
Date: 2009-03-27 09:38:24 -0400 (Fri, 27 Mar 2009)
New Revision: 36494

Modified:
   grass/trunk/lib/vector/Vlib/clean_nodes.c
   grass/trunk/lib/vector/Vlib/remove_areas.c
Log:
streamlined cleaning functions: percent and verbose messages

Modified: grass/trunk/lib/vector/Vlib/clean_nodes.c
===================================================================
--- grass/trunk/lib/vector/Vlib/clean_nodes.c	2009-03-27 13:24:09 UTC (rev 36493)
+++ grass/trunk/lib/vector/Vlib/clean_nodes.c	2009-03-27 13:38:24 UTC (rev 36494)
@@ -249,7 +249,7 @@
 		break;
 	}
     }
-    G_verbose_message("Line modifications: %d", nmodif);
+    G_verbose_message("Modifications: %d", nmodif);
 
     return (nmodif);
 }

Modified: grass/trunk/lib/vector/Vlib/remove_areas.c
===================================================================
--- grass/trunk/lib/vector/Vlib/remove_areas.c	2009-03-27 13:24:09 UTC (rev 36493)
+++ grass/trunk/lib/vector/Vlib/remove_areas.c	2009-03-27 13:38:24 UTC (rev 36494)
@@ -179,5 +179,8 @@
     if (removed_area)
 	*removed_area = size_removed;
 
+    G_verbose_message(_("%d areas of total size %g removed"), nremoved,
+		size_removed);
+
     return (nremoved);
 }



More information about the grass-commit mailing list