Index: src_plugins/autocrop/autocrop.c =================================================================== --- src_plugins/autocrop/autocrop.c (revision 15386) +++ src_plugins/autocrop/autocrop.c (revision 15387) @@ -213,9 +213,8 @@ return 0; } /* Resize -- XXX cannot be undone */ - PCB->MaxWidth = box->X2; - PCB->MaxHeight = box->Y2; MoveAll(dx, dy); + pcb_board_resize(box->X2, box->Y2); pcb_data_clip_all(PCB->Data, pcb_true); pcb_undo_inc_serial(); pcb_redraw();