Index: autocrop.c =================================================================== --- autocrop.c (revision 17406) +++ autocrop.c (revision 17407) @@ -40,8 +40,9 @@ static const char pcb_acth_autocrop[] = "Autocrops the board dimensions to (extants + a margin of 1 grid), keeping the move and board size grid aligned"; static const char pcb_acts_autocrop[] = "autocrop()"; -static int pcb_act_autocrop(int argc, const char **argv) +static int pcb_act_autocrop(int oargc, const char **oargv) { + PCB_OLD_ACT_BEGIN; pcb_box_t box; pcb_coord_t dx, dy, w, h; @@ -68,6 +69,7 @@ pcb_redraw(); pcb_board_set_changed_flag(1); return 0; + PCB_OLD_ACT_END; } static pcb_hid_action_t autocrop_action_list[] = {