[GRASS-SVN] r38523 - grass/branches/releasebranch_6_4/lib/vector/Vlib

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Jul 25 11:01:49 EDT 2009


Author: mmetz
Date: 2009-07-25 11:01:49 -0400 (Sat, 25 Jul 2009)
New Revision: 38523

Modified:
   grass/branches/releasebranch_6_4/lib/vector/Vlib/buffer2.c
Log:
fix for bug #699, backported from trunk

Modified: grass/branches/releasebranch_6_4/lib/vector/Vlib/buffer2.c
===================================================================
--- grass/branches/releasebranch_6_4/lib/vector/Vlib/buffer2.c	2009-07-25 15:00:33 UTC (rev 38522)
+++ grass/branches/releasebranch_6_4/lib/vector/Vlib/buffer2.c	2009-07-25 15:01:49 UTC (rev 38523)
@@ -1091,7 +1091,7 @@
     Vect_append_point(outer, outer->x[0], outer->y[0], outer->z[0]);
 
     /* inner contours */
-    for (i = 0; i < isles_count; i++) {
+    for (i = 1; i <= isles_count; i++) {
 	isle = Vect_get_area_isle(Map, area, i);
 	Vect_get_isle_points(Map, isle, tPoints);
 



More information about the grass-commit mailing list