[GRASS-SVN] r63349 - grass/trunk/lib/vector/diglib

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Dec 3 02:00:43 PST 2014


Author: mmetz
Date: 2014-12-03 02:00:43 -0800 (Wed, 03 Dec 2014)
New Revision: 63349

Modified:
   grass/trunk/lib/vector/diglib/update.c
Log:
diglib: fix list of updated lines

Modified: grass/trunk/lib/vector/diglib/update.c
===================================================================
--- grass/trunk/lib/vector/diglib/update.c	2014-12-03 08:45:27 UTC (rev 63348)
+++ grass/trunk/lib/vector/diglib/update.c	2014-12-03 10:00:43 UTC (rev 63349)
@@ -42,8 +42,8 @@
 
     /* Check if already in list */
     for (i = 0; i < Plus->uplist.n_uplines; i++) {
-	if (Plus->uplist.uplines[i] == line) {
-	    Plus->uplist.uplines_offset[i] = offset;
+	if (Plus->uplist.uplines[i] == line && 
+	    Plus->uplist.uplines_offset[i] == offset) {
             G_debug(3, "\tskipped");
 	    return;
         }



More information about the grass-commit mailing list