summaryrefslogtreecommitdiff
path: root/src/vehicle_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-04-18 22:41:53 +0000
committerrubidium <rubidium@openttd.org>2007-04-18 22:41:53 +0000
commit2dc558929088ec99f403e84305fad72cafe2fa08 (patch)
tree4c61df1a2939966a82e001dc46309bc70348feb2 /src/vehicle_gui.cpp
parent80c259f64fd38cdb84f2bcb8a146e7ec4a448070 (diff)
downloadopenttd-2dc558929088ec99f403e84305fad72cafe2fa08.tar.xz
(svn r9673) -Cleanup: remove spaces before tabs and replace non-indenting tabs with spaces.
Diffstat (limited to 'src/vehicle_gui.cpp')
-rw-r--r--src/vehicle_gui.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vehicle_gui.cpp b/src/vehicle_gui.cpp
index 752b5d011..c90ead3ff 100644
--- a/src/vehicle_gui.cpp
+++ b/src/vehicle_gui.cpp
@@ -358,7 +358,7 @@ static void VehicleRefitWndProc(Window *w, WindowEvent *e)
DrawString(2, w->widget[5].top + 1, STR_9840_NEW_CAPACITY_COST_OF_REFIT, 0);
}
}
- } break;
+ } break;
case WE_CLICK:
switch (e->we.click.widget) {
@@ -922,7 +922,7 @@ static void CreateVehicleListWindow(Window *w)
vl->l.flags = VL_REBUILD | (vl->_sorting->order ? VL_DESC : VL_NONE);
vl->l.sort_type = vl->_sorting->criteria;
vl->sort_list = NULL;
- vl->l.resort_timer = DAY_TICKS * PERIODIC_RESORT_DAYS; // Set up resort timer
+ vl->l.resort_timer = DAY_TICKS * PERIODIC_RESORT_DAYS; // Set up resort timer
}
static void DrawSmallOrderList(const Vehicle *v, int x, int y)
@@ -1140,7 +1140,7 @@ void PlayerVehWndProc(Window *w, WindowEvent *e)
DoCommandP(0, GB(w->window_number, 16, 16), (w->window_number & VLW_MASK) | (1 << 6) | (e->we.click.widget == VLW_WIDGET_START_ALL ? (1 << 5) : 0) | vl->vehicle_type, NULL, CMD_MASS_START_STOP);
break;
}
- } break;
+ } break;
case WE_DROPDOWN_SELECT: /* we have selected a dropdown item in the list */
switch (e->we.dropdown.button) {