Index: search.c =================================================================== --- search.c (revision 30841) +++ search.c (revision 30842) @@ -748,7 +748,7 @@ line.Point1.Y = line.Point2.Y = Y1; line.Point1.X = X1; line.Point2.X = X2; - if (pcb_isc_line_line(&line, Line)) + if (pcb_isc_line_line(pcb_find0, &line, Line)) return pcb_true; /* upper-right to lower-right corner */ @@ -755,7 +755,7 @@ line.Point1.X = X2; line.Point1.Y = Y1; line.Point2.Y = Y2; - if (pcb_isc_line_line(&line, Line)) + if (pcb_isc_line_line(pcb_find0, &line, Line)) return pcb_true; /* lower-right to lower-left corner */ @@ -762,7 +762,7 @@ line.Point1.Y = Y2; line.Point1.X = X1; line.Point2.X = X2; - if (pcb_isc_line_line(&line, Line)) + if (pcb_isc_line_line(pcb_find0, &line, Line)) return pcb_true; /* lower-left to upper-left corner */ @@ -769,7 +769,7 @@ line.Point2.X = X1; line.Point1.Y = Y1; line.Point2.Y = Y2; - if (pcb_isc_line_line(&line, Line)) + if (pcb_isc_line_line(pcb_find0, &line, Line)) return pcb_true; return pcb_false; @@ -826,25 +826,25 @@ line.Point1.Y = p[0].Y; line.Point2.X = p[1].X; line.Point2.Y = p[1].Y; - if (pcb_isc_line_line(&line, Line)) + if (pcb_isc_line_line(pcb_find0, &line, Line)) return pcb_true; /* upper-right to lower-right corner */ line.Point1.X = p[2].X; line.Point1.Y = p[2].Y; - if (pcb_isc_line_line(&line, Line)) + if (pcb_isc_line_line(pcb_find0, &line, Line)) return pcb_true; /* lower-right to lower-left corner */ line.Point2.X = p[3].X; line.Point2.Y = p[3].Y; - if (pcb_isc_line_line(&line, Line)) + if (pcb_isc_line_line(pcb_find0, &line, Line)) return pcb_true; /* lower-left to upper-left corner */ line.Point1.X = p[0].X; line.Point1.Y = p[0].Y; - if (pcb_isc_line_line(&line, Line)) + if (pcb_isc_line_line(pcb_find0, &line, Line)) return pcb_true; return pcb_false; @@ -877,7 +877,7 @@ line.Point1.Y = line.Point2.Y = Y1; line.Point1.X = X1; line.Point2.X = X2; - if (pcb_isc_line_arc(&line, Arc)) + if (pcb_isc_line_arc(pcb_find0, &line, Arc)) return pcb_true; /* upper-right to lower-right corner */ @@ -884,7 +884,7 @@ line.Point1.X = line.Point2.X = X2; line.Point1.Y = Y1; line.Point2.Y = Y2; - if (pcb_isc_line_arc(&line, Arc)) + if (pcb_isc_line_arc(pcb_find0, &line, Arc)) return pcb_true; /* lower-right to lower-left corner */ @@ -891,7 +891,7 @@ line.Point1.Y = line.Point2.Y = Y2; line.Point1.X = X1; line.Point2.X = X2; - if (pcb_isc_line_arc(&line, Arc)) + if (pcb_isc_line_arc(pcb_find0, &line, Arc)) return pcb_true; /* lower-left to upper-left corner */ @@ -898,7 +898,7 @@ line.Point1.X = line.Point2.X = X1; line.Point1.Y = Y1; line.Point2.Y = Y2; - if (pcb_isc_line_arc(&line, Arc)) + if (pcb_isc_line_arc(pcb_find0, &line, Arc)) return pcb_true; return pcb_false;