# HG changeset patch # User Darkvater # Date 2005-08-20 21:16:46 # Node ID 9aa5f0135356232394346e81b0d9623dfcd1cd6f # Parent 28ecacf7860ed14c8bf7d02dfca9b22d8b1ac14d (svn r2880) Fix graphical glitch in replace window (text at wrong coordinates) diff --git a/vehicle_gui.c b/vehicle_gui.c --- a/vehicle_gui.c +++ b/vehicle_gui.c @@ -841,7 +841,7 @@ static void ReplaceVehicleWndProc(Window } - DrawString(145, (w->resize.step_height == 24 ? 77 : 87 ) + ( w->resize.step_height * w->vscroll.cap), STR_02BD, 0x10); + DrawString(145, (w->resize.step_height == 24 ? 67 : 77 ) + ( w->resize.step_height * w->vscroll.cap), STR_02BD, 0x10); /* now we draw the two arrays according to what we just counted */