Index: main_gui.c =================================================================== --- main_gui.c (revision 5064) +++ main_gui.c (working copy) @@ -1853,12 +1853,16 @@ static void MainToolbarWndProc(Window *w, WindowEvent *e) { + + int left; + switch (e->event) { case WE_PAINT: { + left = PositionMainToolbar(w); // Draw brown-red toolbar bg. - GfxFillRect(0, 0, w->width-1, w->height-1, 0xB2); - GfxFillRect(0, 0, w->width-1, w->height-1, 0xB4 | PALETTE_MODIFIER_GREYOUT); + GfxFillRect(left, w->top , w->width-1, w->height-1, 0xB2); + GfxFillRect(left, w->top , w->width-1, w->height-1, 0xB4 | PALETTE_MODIFIER_GREYOUT); // if spectator, disable things if (_current_player == OWNER_SPECTATOR){