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

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Jul 25 10:59:03 EDT 2009


Author: mmetz
Date: 2009-07-25 10:59:02 -0400 (Sat, 25 Jul 2009)
New Revision: 38521

Modified:
   grass/trunk/lib/vector/Vlib/buffer2.c
Log:
fix for bug #699

Modified: grass/trunk/lib/vector/Vlib/buffer2.c
===================================================================
--- grass/trunk/lib/vector/Vlib/buffer2.c	2009-07-25 10:26:29 UTC (rev 38520)
+++ grass/trunk/lib/vector/Vlib/buffer2.c	2009-07-25 14:59:02 UTC (rev 38521)
@@ -1044,7 +1044,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