[GRASS-SVN] r52357 - grass/trunk/vector/v.generalize
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Jul 9 09:42:23 PDT 2012
Author: martinl
Date: 2012-07-09 09:42:22 -0700 (Mon, 09 Jul 2012)
New Revision: 52357
Modified:
grass/trunk/vector/v.generalize/main.c
Log:
v.generalize: use G_done_msg() when reporting results
Modified: grass/trunk/vector/v.generalize/main.c
===================================================================
--- grass/trunk/vector/v.generalize/main.c 2012-07-09 16:37:27 UTC (rev 52356)
+++ grass/trunk/vector/v.generalize/main.c 2012-07-09 16:42:22 UTC (rev 52357)
@@ -528,12 +528,12 @@
G_message("-----------------------------------------------------");
if (total_input != 0 && total_input != total_output)
- G_message(_("Number of vertices for selected lines %s from %d to %d (%d%%)."),
- simplification ? _("reduced") : _("changed"),
- total_input, total_output,
- (total_output * 100) / total_input);
+ G_done_msg(_("Number of vertices for selected features %s from %d to %d (%d%%)."),
+ simplification ? _("reduced") : _("changed"),
+ total_input, total_output,
+ (total_output * 100) / total_input);
+ else
+ G_done_msg(" ");
- G_done_msg(" ");
-
exit(EXIT_SUCCESS);
}
More information about the grass-commit
mailing list