[GRASS-SVN] r38522 - grass/branches/develbranch_6/lib/vector/Vlib

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Jul 25 11:00:34 EDT 2009


Author: mmetz
Date: 2009-07-25 11:00:33 -0400 (Sat, 25 Jul 2009)
New Revision: 38522

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

Modified: grass/branches/develbranch_6/lib/vector/Vlib/buffer2.c
===================================================================
--- grass/branches/develbranch_6/lib/vector/Vlib/buffer2.c	2009-07-25 14:59:02 UTC (rev 38521)
+++ grass/branches/develbranch_6/lib/vector/Vlib/buffer2.c	2009-07-25 15:00:33 UTC (rev 38522)
@@ -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