From 8f00b8ad4ec60c0edd8d076a43835f53c1c1a2fd Mon Sep 17 00:00:00 2001 From: Darkvater Date: Sat, 20 Aug 2005 21:16:46 +0000 Subject: [PATCH] (svn r2880) Fix graphical glitch in replace window (text at wrong coordinates) --- vehicle_gui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vehicle_gui.c b/vehicle_gui.c index 9434d99c58..a618895563 100644 --- a/vehicle_gui.c +++ b/vehicle_gui.c @@ -841,7 +841,7 @@ static void ReplaceVehicleWndProc(Window *w, WindowEvent *e) } - 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 */