diff options
author | Darkvater <Darkvater@openttd.org> | 2005-08-20 21:16:46 +0000 |
---|---|---|
committer | Darkvater <Darkvater@openttd.org> | 2005-08-20 21:16:46 +0000 |
commit | 8f00b8ad4ec60c0edd8d076a43835f53c1c1a2fd (patch) | |
tree | abc77c7583cc4090a370a7f9af5aba7e02e8e187 | |
parent | f0393bc4b15c66bb07e07ed9321f8ac3a624bd2c (diff) | |
download | openttd-8f00b8ad4ec60c0edd8d076a43835f53c1c1a2fd.tar.xz |
(svn r2880) Fix graphical glitch in replace window (text at wrong coordinates)
-rw-r--r-- | vehicle_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vehicle_gui.c b/vehicle_gui.c index 9434d99c5..a61889556 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 */ |