[GRASS-SVN] r63350 - grass/branches/releasebranch_7_0/lib/vector/diglib
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Dec 3 02:00:54 PST 2014
Author: mmetz
Date: 2014-12-03 02:00:54 -0800 (Wed, 03 Dec 2014)
New Revision: 63350
Modified:
grass/branches/releasebranch_7_0/lib/vector/diglib/update.c
Log:
diglib: fix list of updated lines
Modified: grass/branches/releasebranch_7_0/lib/vector/diglib/update.c
===================================================================
--- grass/branches/releasebranch_7_0/lib/vector/diglib/update.c 2014-12-03 10:00:43 UTC (rev 63349)
+++ grass/branches/releasebranch_7_0/lib/vector/diglib/update.c 2014-12-03 10:00:54 UTC (rev 63350)
@@ -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