Skip to content

Commit

Permalink
Vlib: fix index to array
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.osgeo.org/grass/grass/trunk@53738 15284696-431f-4ddb-bdfa-cd5b030d7da7
  • Loading branch information
metzm committed Nov 8, 2012
1 parent 1e61a71 commit e8f69b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/vector/Vlib/net.c
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ Vect_net_build_graph(struct Map_info *Map,
dcost = 0;

for (j = 0; j < List->n_values; j++) {
line = List->id[i];
line = List->id[j];
G_debug(2, " line (%d) = %d", j, line);
type = Vect_read_line(Map, NULL, Cats, line);
if (!(type & GV_POINT))
Expand Down

0 comments on commit e8f69b5

Please sign in to comment.