Index: rats_act.c =================================================================== --- rats_act.c (revision 10981) +++ rats_act.c (revision 10982) @@ -102,7 +102,7 @@ } PCB_END_LOOP; if (shorty) { - pcb_undo_add_obj_to_flag(PCB_TYPE_RATLINE, shorty, shorty, shorty); + pcb_undo_add_obj_to_flag(shorty); PCB_FLAG_SET(PCB_FLAG_SELECTED, shorty); pcb_rat_invalidate_draw(shorty); pcb_draw();