Index: rats_act.c =================================================================== --- rats_act.c (revision 32970) +++ rats_act.c (revision 32971) @@ -101,7 +101,7 @@ PCB_FLAG_SET(PCB_FLAG_SELECTED, shorty); pcb_rat_invalidate_draw(shorty); pcb_draw(); - pcb_center_display((shorty->Point2.X + shorty->Point1.X) / 2, (shorty->Point2.Y + shorty->Point1.Y) / 2); + pcb_center_display(PCB, (shorty->Point2.X + shorty->Point1.X) / 2, (shorty->Point2.Y + shorty->Point1.Y) / 2); } break;