diff options
author | rubidium <rubidium@openttd.org> | 2006-08-28 18:53:03 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2006-08-28 18:53:03 +0000 |
commit | 27cee58ab823cbab0ab8905ce7b52143de7ca5e5 (patch) | |
tree | 9de9b15a15bde4d4e092c3abfde1fae7eb2d76f0 /aircraft_gui.c | |
parent | 8cc7aa9aa03d67ee59fcbf60dfb4d0cd407d3f3d (diff) | |
download | openttd-27cee58ab823cbab0ab8905ce7b52143de7ca5e5.tar.xz |
(svn r6204) -Cleanup: replace non-indentation with spaces; like '}<TAB>else {' -> '} else {', tabs between code and comment, etc.
Diffstat (limited to 'aircraft_gui.c')
-rw-r--r-- | aircraft_gui.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/aircraft_gui.c b/aircraft_gui.c index d32ce9dc0..df16249ce 100644 --- a/aircraft_gui.c +++ b/aircraft_gui.c @@ -197,7 +197,7 @@ static void NewAircraftWndProc(Window *w, WindowEvent *e) DoCommandP(w->window_number, sel_eng, 0, CcBuildAircraft, CMD_BUILD_AIRCRAFT | CMD_MSG(STR_A008_CAN_T_BUILD_AIRCRAFT)); } break; - case 6: { /* rename */ + case 6: { /* rename */ EngineID sel_eng = WP(w,buildtrain_d).sel_engine; if (sel_eng != INVALID_ENGINE) { WP(w,buildtrain_d).rename_engine = sel_eng; @@ -882,7 +882,7 @@ static void AircraftDepotWndProc(Window *w, WindowEvent *e) case 4: if (!HASBIT(w->disabled_state, 4) && - WP(w,traindepot_d).sel != INVALID_VEHICLE) { + WP(w,traindepot_d).sel != INVALID_VEHICLE) { Vehicle *v; HandleButtonClick(w, 4); @@ -1227,6 +1227,6 @@ void ShowPlayerAircraft(PlayerID player, StationID station) void ShowVehWithSharedOrdersAircraft(Vehicle *v) { - if (v->orders == NULL) return; // no shared list to show + if (v->orders == NULL) return; // no shared list to show ShowPlayerAircraftLocal(v->owner, INVALID_STATION, v->orders->index, true); } |