Index: pstk_help.c =================================================================== --- pstk_help.c (revision 15684) +++ pstk_help.c (revision 15685) @@ -159,7 +159,7 @@ if (PCB_FLAG_TEST(PCB_FLAG_FOUND, c)) continue; /* already used */ switch(c->type) { case PCB_OBJ_LINE: - if (!pcb_is_point_in_pad(cx, cy, r, (pcb_pad_t *)c)) continue; + if (!pcb_is_point_in_line(cx, cy, r, (pcb_pad_t *)c)) continue; break; case PCB_OBJ_POLY: if (!pcb_poly_is_point_in_p(cx, cy, r, (pcb_poly_t *)c)) continue;