diff options
Diffstat (limited to 'src/group_gui.cpp')
-rw-r--r-- | src/group_gui.cpp | 3 |
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) |