Index: rats_act.c =================================================================== --- rats_act.c (revision 5022) +++ rats_act.c (revision 5023) @@ -102,7 +102,7 @@ } END_LOOP; if (shorty) { - AddObjectToFlagUndoList(PCB_TYPE_RATLINE, shorty, shorty, shorty); + pcb_undo_add_obj_to_flag(PCB_TYPE_RATLINE, shorty, shorty, shorty); PCB_FLAG_SET(PCB_FLAG_SELECTED, shorty); DrawRat(shorty); pcb_draw();