[GRASS-SVN] r41228 - grass/branches/develbranch_6/vector/v.delaunay2
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Feb 28 13:40:14 EST 2010
Author: pkelly
Date: 2010-02-28 13:40:13 -0500 (Sun, 28 Feb 2010)
New Revision: 41228
Modified:
grass/branches/develbranch_6/vector/v.delaunay2/in_out.c
Log:
Fix bug #933
Modified: grass/branches/develbranch_6/vector/v.delaunay2/in_out.c
===================================================================
--- grass/branches/develbranch_6/vector/v.delaunay2/in_out.c 2010-02-28 18:36:52 UTC (rev 41227)
+++ grass/branches/develbranch_6/vector/v.delaunay2/in_out.c 2010-02-28 18:40:13 UTC (rev 41228)
@@ -186,10 +186,8 @@
if (n > 0) {
for (next = 1; next < n; next++) {
if (sites[prev].x != sites[next].x ||
- sites[prev].y != sites[next].y) {
- sites[++prev].x = sites[next].x;
- sites[prev].y = sites[next].y;
- }
+ sites[prev].y != sites[next].y)
+ sites[++prev] = sites[next];
}
*size = prev + 1;
}
More information about the grass-commit
mailing list