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

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Nov 30 10:09:07 PST 2013


Author: mmetz
Date: 2013-11-30 10:09:07 -0800 (Sat, 30 Nov 2013)
New Revision: 58341

Modified:
   grass/trunk/lib/vector/Vlib/merge_lines.c
Log:
Vlib: merge only lines or boundaries

Modified: grass/trunk/lib/vector/Vlib/merge_lines.c
===================================================================
--- grass/trunk/lib/vector/Vlib/merge_lines.c	2013-11-30 16:47:37 UTC (rev 58340)
+++ grass/trunk/lib/vector/Vlib/merge_lines.c	2013-11-30 18:09:07 UTC (rev 58341)
@@ -87,6 +87,8 @@
     struct line_cats *MCats, *Cats;
     struct P_line *Line;
 
+    type &= GV_LINES;
+
     if (!(type & GV_LINES)) {
 	G_warning
 	    ("Merging is done with lines or boundaries only, not with other types");



More information about the grass-commit mailing list