summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbjarni <bjarni@openttd.org>2006-09-28 19:56:29 +0000
committerbjarni <bjarni@openttd.org>2006-09-28 19:56:29 +0000
commit1ae8aa4b809c3ddff032e2f3de7317490efa5235 (patch)
tree37b264b4e480399386e377ed257d81c9ee5f00a1
parent681c8c016213c471bb2061e7297536b945ea9228 (diff)
downloadopenttd-1ae8aa4b809c3ddff032e2f3de7317490efa5235.tar.xz
(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
-rw-r--r--depot_gui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/depot_gui.c b/depot_gui.c
index c33612d8f..405c6df02 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();