Index: search.h =================================================================== --- search.h (revision 31004) +++ search.h (revision 31005) @@ -87,7 +87,7 @@ /* == the same but accept if any part of the object touches the box == */ #define PCB_POINT_IN_CIRCLE(x, y, cx, cy, r) \ - (pcb_distance2(x, y, cx, cy) <= (double)(r) * (double)(r)) + (rnd_distance2(x, y, cx, cy) <= (double)(r) * (double)(r)) #define PCB_CIRCLE_TOUCHES_BOX(cx, cy, r, b) \ ( PCB_POINT_IN_BOX((cx)-(r),(cy),(b)) || PCB_POINT_IN_BOX((cx)+(r),(cy),(b)) || PCB_POINT_IN_BOX((cx),(cy)-(r),(b)) || PCB_POINT_IN_BOX((cx),(cy)+(r),(b)) \