Index: draw_ly_spec.c =================================================================== --- draw_ly_spec.c (revision 37886) +++ draw_ly_spec.c (revision 37887) @@ -332,7 +332,7 @@ { rnd_render->set_drawing_mode(rnd_render, RND_HID_COMP_RESET, pcb_draw_out.direct, drawn_area); rnd_render->set_drawing_mode(rnd_render, RND_HID_COMP_POSITIVE, pcb_draw_out.direct, drawn_area); - rnd_r_search(PCB->Data->rat_tree, drawn_area, NULL, pcb_rat_draw_callback, info, NULL); + rnd_rtree_search_any(PCB->Data->rat_tree, (rnd_rtree_box_t *)drawn_area, NULL, pcb_rat_draw_callback, info, NULL); rnd_render->set_drawing_mode(rnd_render, RND_HID_COMP_FLUSH, pcb_draw_out.direct, drawn_area); }