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 | 7a184a0ea324ae21ef469deff5780d7c464ae289 (patch) | |
tree | abc77c7583cc4090a370a7f9af5aba7e02e8e187 | |
parent | ae49d487cc7cae0c0b47834aba94bdb801ba8c06 (diff) | |
download | openttd-7a184a0ea324ae21ef469deff5780d7c464ae289.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 */ |