Skip to content

Commit

Permalink
v.in.ogr: fix bug from #3282
Browse files Browse the repository at this point in the history
  • Loading branch information
metzm committed Jan 31, 2024
1 parent c099a32 commit 689ae98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vector/v.in.ogr/geom.c
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ int geom(OGRGeometryH hGeomAny, struct Map_info *Map, int field, int cat,
}
Vect_line_prune(IPoints[valid_isles]);

lastidx = Points->n_points - 1;
lastidx = IPoints[valid_isles]->n_points - 1;
if (IPoints[valid_isles]->x[0] !=
IPoints[valid_isles]->x[lastidx] ||
IPoints[valid_isles]->y[0] !=
Expand Down

0 comments on commit 689ae98

Please sign in to comment.