[GRASS-SVN] r41227 - grass/trunk/vector/v.delaunay

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Feb 28 13:36:53 EST 2010


Author: pkelly
Date: 2010-02-28 13:36:52 -0500 (Sun, 28 Feb 2010)
New Revision: 41227

Modified:
   grass/trunk/vector/v.delaunay/in_out.c
Log:
Fix bug #933


Modified: grass/trunk/vector/v.delaunay/in_out.c
===================================================================
--- grass/trunk/vector/v.delaunay/in_out.c	2010-02-28 17:32:20 UTC (rev 41226)
+++ grass/trunk/vector/v.delaunay/in_out.c	2010-02-28 18:36:52 UTC (rev 41227)
@@ -189,10 +189,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