Index: autocrop.c =================================================================== --- autocrop.c (revision 5021) +++ autocrop.c (revision 5022) @@ -219,7 +219,7 @@ PCB->MaxWidth = box->X2; PCB->MaxHeight = box->Y2; MoveAll(dx, dy); - IncrementUndoSerialNumber(); + pcb_undo_inc_serial(); pcb_redraw(); pcb_board_set_changed_flag(1); return 0;