diff options
author | rubidium <rubidium@openttd.org> | 2009-03-14 18:16:29 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-03-14 18:16:29 +0000 |
commit | 9d018723b7bab3341cd455708a6cd98283d75c34 (patch) | |
tree | 52ab96dc0e1aa14f6c966c67c4a94ba1762f9c15 /src/vehicle_gui.cpp | |
parent | 1692ce83122d1ed15206f160aea339761b173174 (diff) | |
download | openttd-9d018723b7bab3341cd455708a6cd98283d75c34.tar.xz |
(svn r15711) -Codechange: lots of whitespace cleanup/fixes
Diffstat (limited to 'src/vehicle_gui.cpp')
-rw-r--r-- | src/vehicle_gui.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/vehicle_gui.cpp b/src/vehicle_gui.cpp index ef2a05835..d5b405934 100644 --- a/src/vehicle_gui.cpp +++ b/src/vehicle_gui.cpp @@ -420,9 +420,9 @@ static const WindowDesc _vehicle_refit_desc = { }; /** Show the refit window for a vehicle -* @param *v The vehicle to show the refit window for -* @param order of the vehicle ( ? ) -*/ + * @param *v The vehicle to show the refit window for + * @param order of the vehicle ( ? ) + */ void ShowVehicleRefitWindow(const Vehicle *v, VehicleOrderID order, Window *parent) { DeleteWindowById(WC_VEHICLE_REFIT, v->index); @@ -816,7 +816,7 @@ struct VehicleListWindow : public BaseVehicleListWindow { this->owner = company; /* Hide the widgets that we will not use in this window - * Some windows contains actions only fit for the owner */ + * Some windows contains actions only fit for the owner */ if (company == _local_company) { this->HideWidget(VLW_WIDGET_OTHER_COMPANY_FILLER); this->SetWidgetDisabledState(VLW_WIDGET_AVAILABLE_VEHICLES, window_type != VLW_STANDARD); @@ -916,8 +916,8 @@ struct VehicleListWindow : public BaseVehicleListWindow { this->widget[VLW_WIDGET_LIST].data = (this->vscroll.cap << 8) + 1; /* Set up sorting. Make the window-specific _sorting variable - * point to the correct global _sorting struct so we are freed - * from having conditionals during window operation */ + * point to the correct global _sorting struct so we are freed + * from having conditionals during window operation */ switch (this->vehicle_type) { case VEH_TRAIN: this->sorting = &_sorting.train; break; case VEH_ROAD: this->sorting = &_sorting.roadveh; break; @@ -957,7 +957,7 @@ struct VehicleListWindow : public BaseVehicleListWindow { case VLW_SHARED_ORDERS: /* Shared Orders */ if (this->vehicles.Length() == 0) { /* We can't open this window without vehicles using this order - * and we should close the window when deleting the order */ + * and we should close the window when deleting the order */ NOT_REACHED(); } SetDParam(0, this->vscroll.count); |