[GRASS-SVN] r55854 - grass/trunk/lib/vector/Vlib
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Apr 17 07:48:46 PDT 2013
Author: mmetz
Date: 2013-04-17 07:48:46 -0700 (Wed, 17 Apr 2013)
New Revision: 55854
Modified:
grass/trunk/lib/vector/Vlib/break_lines.c
Log:
Vlib: fix #1933
Modified: grass/trunk/lib/vector/Vlib/break_lines.c
===================================================================
--- grass/trunk/lib/vector/Vlib/break_lines.c 2013-04-17 12:22:21 UTC (rev 55853)
+++ grass/trunk/lib/vector/Vlib/break_lines.c 2013-04-17 14:48:46 UTC (rev 55854)
@@ -329,7 +329,10 @@
btype = Vect_read_line(Map, BPoints, BCats, bline);
Vect_line_prune(BPoints);
- BBox = &List->box[j];
+ if (j == -1)
+ BBox = &ABox;
+ else
+ BBox = &List->box[j];
/* Check if touch by end node only */
if (!is3d) {
More information about the grass-commit
mailing list