summaryrefslogtreecommitdiff
path: root/src/group_gui.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2009-08-15 11:47:11 +0000
committerfrosch <frosch@openttd.org>2009-08-15 11:47:11 +0000
commit2ad4bf74a1a0c78138efd450582e91423c282440 (patch)
tree464a371866dbf971235443fce776f2f06b396555 /src/group_gui.cpp
parent1f3f53f42171c43726873991bce9bbb3c2e88097 (diff)
downloadopenttd-2ad4bf74a1a0c78138efd450582e91423c282440.tar.xz
(svn r17185) -Codechange: Tweak depot gui and vehicle lists, so text overlaps less with vehicle images.
Diffstat (limited to 'src/group_gui.cpp')
-rw-r--r--src/group_gui.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/group_gui.cpp b/src/group_gui.cpp
index d4dad4f09..d553076c5 100644
--- a/src/group_gui.cpp
+++ b/src/group_gui.cpp
@@ -322,7 +322,6 @@ public:
virtual void OnPaint()
{
const Owner owner = (Owner)GB(this->window_number, 0, 8);
- int x = this->widget[GRP_WIDGET_LIST_VEHICLE].left + 2;
int y1 = PLY_WND_PRC__OFFSET_TOP_WIDGET + 2;
int max;
int i;
@@ -422,7 +421,7 @@ public:
this->DrawSortButtonState(GRP_WIDGET_SORT_BY_ORDER, this->vehicles.IsDescSortOrder() ? SBS_DOWN : SBS_UP);
- this->DrawVehicleListItems(x, this->vehicle_sel);
+ this->DrawVehicleListItems(this->vehicle_sel);
}
virtual void OnClick(Point pt, int widget)