(svn r18576) -Codechange: use the function to determine the width of digits for determining the width of the unitnumber in vehicle lists.
This commit is contained in:
@@ -20,7 +20,7 @@ struct BaseVehicleListWindow : public Window {
|
||||
GUIVehicleList vehicles; ///< The list of vehicles
|
||||
Listing *sorting; ///< Pointer to the vehicle type related sorting.
|
||||
VehicleType vehicle_type; ///< The vehicle type that is sorted
|
||||
UnitID max_unitnumber; ///< The maximum UnitID
|
||||
byte unitnumber_digits; ///< The number of digits of the highest unit number
|
||||
|
||||
static const StringID vehicle_sorter_names[];
|
||||
static GUIVehicleList::SortFunction * const vehicle_sorter_funcs[];
|
||||
|
||||
Reference in New Issue
Block a user