浏览代码

Vect_area_buffer2 still broken

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@38524 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 15 年之前
父节点
当前提交
2e20b72b66
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/vector/Vlib/buffer2.c

+ 1 - 1
lib/vector/Vlib/buffer2.c

@@ -1044,7 +1044,7 @@ void Vect_area_buffer2(const struct Map_info *Map, int area, double da, double d
     Vect_append_point(outer, outer->x[0], outer->y[0], outer->z[0]);
 
     /* inner contours */
-    for (i = 1; i <= isles_count; i++) {
+    for (i = 0; i < isles_count; i++) {
 	isle = Vect_get_area_isle(Map, area, i);
 	Vect_get_isle_points(Map, isle, tPoints);