diff options
author | rubidium <rubidium@openttd.org> | 2008-09-12 21:20:12 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-09-12 21:20:12 +0000 |
commit | 560e5560f15b09ba297cab1478d1be81b60280cd (patch) | |
tree | df262ace0a38aaa554af067f7b5f1027744cf1eb /src/group_gui.cpp | |
parent | 95bdb5a6a34669832b395594095ca262f46396bd (diff) | |
download | openttd-560e5560f15b09ba297cab1478d1be81b60280cd.tar.xz |
(svn r14301) -Codechange: give the vehicle list and group list the same relative size and the same absolute height for the vehicle list items.
Diffstat (limited to 'src/group_gui.cpp')
-rw-r--r-- | src/group_gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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()); |