(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
authorbjarni
Thu, 28 Sep 2006 19:56:29 +0000
changeset 4667 0004c6406554
parent 4666 172a0cdf28a6
child 4668 f7256d0e7682
(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
--- a/depot_gui.c	Thu Sep 28 18:42:35 2006 +0000
+++ b/depot_gui.c	Thu Sep 28 19:56:29 2006 +0000
@@ -881,7 +881,7 @@
 				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 @@
 				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();