[GRASS-SVN] r41231 - grass/branches/releasebranch_6_4/vector/v.delaunay2

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Feb 28 13:43:01 EST 2010


Author: pkelly
Date: 2010-02-28 13:43:01 -0500 (Sun, 28 Feb 2010)
New Revision: 41231

Modified:
   grass/branches/releasebranch_6_4/vector/v.delaunay2/in_out.c
Log:
Fix bug #933


Modified: grass/branches/releasebranch_6_4/vector/v.delaunay2/in_out.c
===================================================================
--- grass/branches/releasebranch_6_4/vector/v.delaunay2/in_out.c	2010-02-28 18:42:34 UTC (rev 41230)
+++ grass/branches/releasebranch_6_4/vector/v.delaunay2/in_out.c	2010-02-28 18:43:01 UTC (rev 41231)
@@ -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