Index: undo_act.c =================================================================== --- undo_act.c (revision 10643) +++ undo_act.c (revision 10644) @@ -185,7 +185,7 @@ if (conf_core.editor.auto_drc) { /* undo loses PCB_FLAG_FOUND */ PCB_FLAG_SET(PCB_FLAG_FOUND, ptr2); - DrawLine(CURRENT, ptr2); + pcb_line_invalidate_draw(CURRENT, ptr2); } pcb_crosshair.AttachedLine.Point1.X = pcb_crosshair.AttachedLine.Point2.X = ptr2->Point2.X; pcb_crosshair.AttachedLine.Point1.Y = pcb_crosshair.AttachedLine.Point2.Y = ptr2->Point2.Y;