Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion lib/vector/Vlib/find.c
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,9 @@ int Vect_find_area(struct Map_info *Map, double x, double y)
G_debug(3, " area = %d Vect_point_in_area_outer_ring() = %d", area,
ret);

if (ret >= 1) {
/* the point must be really inside (ret = 1), not on the boundary (ret =
* 2) */
if (ret == 1) {
/* check if in islands */
Area = Plus->Area[area];
for (j = 0; j < Area->n_isles; j++) {
Expand Down
Loading
Loading