Index: trunk/src/search.c =================================================================== --- trunk/src/search.c (revision 36020) +++ trunk/src/search.c (revision 36021) @@ -1271,7 +1271,8 @@ rnd_rtree_box_t pt; pcb_line_t *l; -/* TODO: set pt coords to x and y */ + pt.x1 = x; pt.y1 = y; + pt.x2 = x+1; pt.y2 = y+1; for(l = rnd_rtree_first(&it, layer->line_tree, &pt); l != NULL; l = rnd_rtree_next(&it)) { /* check if line needs to be ignored and "continue;" if so: