[GRASS-SVN] r54524 - grass/trunk/vector/v.build.polylines
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Jan 4 05:29:48 PST 2013
Author: martinl
Date: 2013-01-04 05:29:48 -0800 (Fri, 04 Jan 2013)
New Revision: 54524
Modified:
grass/trunk/vector/v.build.polylines/main.c
Log:
v.build.polylines: fix bug in type
be less verbose
Modified: grass/trunk/vector/v.build.polylines/main.c
===================================================================
--- grass/trunk/vector/v.build.polylines/main.c 2013-01-04 13:02:48 UTC (rev 54523)
+++ grass/trunk/vector/v.build.polylines/main.c 2013-01-04 13:29:48 UTC (rev 54524)
@@ -176,7 +176,7 @@
write_cats = MULTI_CATS;
if (type_opt->answer)
- Vect_option_to_types(type_opt);
+ type = Vect_option_to_types(type_opt);
else
type = GV_LINES;
@@ -223,10 +223,10 @@
polyline++;
}
- G_message(_("%d lines or boundaries found in vector map <%s@%s>"),
- nlines, Vect_get_name(&map), Vect_get_mapset(&map));
- G_message(_("%d polylines stored in vector map <%s@%s>"),
- polyline, Vect_get_name(&Out), Vect_get_mapset(&Out));
+ G_verbose_message(_("%d lines or boundaries found in input vector map"),
+ nlines, Vect_get_name(&map), Vect_get_mapset(&map));
+ G_verbose_message(_("%d polylines stored in output vector map"),
+ polyline, Vect_get_name(&Out), Vect_get_mapset(&Out));
/* Copy (all linked) tables if needed */
if (copy_tables) {
More information about the grass-commit
mailing list