[GRASS-SVN] r53740 - grass/branches/develbranch_6/lib/vector/Vlib
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Nov 8 09:33:18 PST 2012
Author: mmetz
Date: 2012-11-08 09:33:18 -0800 (Thu, 08 Nov 2012)
New Revision: 53740
Modified:
grass/branches/develbranch_6/lib/vector/Vlib/net.c
Log:
Vlib: fix #372
Modified: grass/branches/develbranch_6/lib/vector/Vlib/net.c
===================================================================
--- grass/branches/develbranch_6/lib/vector/Vlib/net.c 2012-11-08 17:32:51 UTC (rev 53739)
+++ grass/branches/develbranch_6/lib/vector/Vlib/net.c 2012-11-08 17:33:18 UTC (rev 53740)
@@ -383,7 +383,7 @@
for (j = 0; j < nlines; j++) {
line = Vect_get_node_line(Map, i, j);
G_debug(2, " line (%d) = %d", j, line);
- type = Vect_read_line(Map, NULL, Cats, line);
+ type = Vect_read_line(Map, NULL, Cats, abs(line));
if (!(type & GV_POINT))
continue;
if (Vect_cat_get(Cats, nfield, &cat)) { /* point with category of field found */
More information about the grass-commit
mailing list