From 9b7fc334e2e7799dd1cb79e71c128e5d5c7cfa6e Mon Sep 17 00:00:00 2001 From: bjarni Date: Thu, 28 Sep 2006 19:56:29 +0000 Subject: [PATCH] (svn r6561) -Fix r6513: [depot window] fixed an off by one error, that caused planes and ships to be drawn one pixel lower for each row --- depot_gui.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/depot_gui.c b/depot_gui.c index c33612d8f4..405c6df021 100644 --- a/depot_gui.c +++ b/depot_gui.c @@ -881,7 +881,7 @@ void ShowDepotWindow(TileIndex tile, byte type) w->vscroll.cap = 3; w->hscroll.cap = 3; w->resize.step_width = 90; - w->resize.step_height = 24; + w->resize.step_height = 23; break; case VEH_Aircraft: @@ -889,7 +889,7 @@ void ShowDepotWindow(TileIndex tile, byte type) w->vscroll.cap = 3; w->hscroll.cap = 4; w->resize.step_width = 74; - w->resize.step_height = 24; + w->resize.step_height = 23; break; default: NOT_REACHED();