From 560e5560f15b09ba297cab1478d1be81b60280cd Mon Sep 17 00:00:00 2001 From: rubidium Date: Fri, 12 Sep 2008 21:20:12 +0000 Subject: (svn r14301) -Codechange: give the vehicle list and group list the same relative size and the same absolute height for the vehicle list items. --- src/group_gui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/group_gui.cpp') diff --git a/src/group_gui.cpp b/src/group_gui.cpp index f806781c6..3b5d7f1af 100644 --- a/src/group_gui.cpp +++ b/src/group_gui.cpp @@ -190,7 +190,7 @@ public: case VEH_AIRCRAFT: this->vscroll.cap = 9; this->vscroll2.cap = 4; - this->resize.step_height = PLY_WND_PRC__SIZE_OF_ROW_BIG2; + this->resize.step_height = PLY_WND_PRC__SIZE_OF_ROW_BIG; break; } @@ -452,7 +452,7 @@ public: SetDParam(0, v->unitnumber); DrawString(x, y2 + 2, v->IsInDepot() ? STR_021F : (v->age > v->max_age - 366 ? STR_00E3 : STR_00E2), TC_FROMSTRING); - if (this->resize.step_height == PLY_WND_PRC__SIZE_OF_ROW_BIG2) DrawSmallOrderList(v, x + 138, y2); + if (this->resize.step_height == PLY_WND_PRC__SIZE_OF_ROW_BIG) DrawSmallOrderList(v, x + 138, y2); SetDParam(0, v->GetDisplayProfitThisYear()); SetDParam(1, v->GetDisplayProfitLastYear()); -- cgit v1.2.3-54-g00ecf