[GRASS-SVN] r62355 - in grass/branches/releasebranch_7_0: . vector/v.category
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Oct 22 05:44:42 PDT 2014
Author: martinl
Date: 2014-10-22 05:44:42 -0700 (Wed, 22 Oct 2014)
New Revision: 62355
Modified:
grass/branches/releasebranch_7_0/
grass/branches/releasebranch_7_0/vector/v.category/main.c
Log:
v.category: do not print done message when reporting/printing categories
Property changes on: grass/branches/releasebranch_7_0
___________________________________________________________________
Modified: svn:mergeinfo
- /grass/trunk:62346,62352
+ /grass/trunk:62346,62352,62354
Modified: grass/branches/releasebranch_7_0/vector/v.category/main.c
===================================================================
--- grass/branches/releasebranch_7_0/vector/v.category/main.c 2014-10-22 12:43:39 UTC (rev 62354)
+++ grass/branches/releasebranch_7_0/vector/v.category/main.c 2014-10-22 12:44:42 UTC (rev 62355)
@@ -778,9 +778,12 @@
for(i = 1; i < nfields; i++)
G_important_message(_("Categories copied from layer %d to layer %d"),
fields[0], fields[i]);
- G_done_msg(_n("%d feature modified.",
- "%d features modified.",
- nmodified), nmodified);
+
+ if (option != O_REP && option != O_PRN)
+ G_done_msg(_n("%d feature modified.",
+ "%d features modified.",
+ nmodified), nmodified);
+
Vect_close(&In);
exit(EXIT_SUCCESS);
More information about the grass-commit
mailing list