diff options
author | rubidium <rubidium@openttd.org> | 2007-04-18 22:10:36 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-04-18 22:10:36 +0000 |
commit | 80c259f64fd38cdb84f2bcb8a146e7ec4a448070 (patch) | |
tree | f018095aed2d70f8386d800c8e8ac662f4b9c8fa /src/airport_gui.cpp | |
parent | 41cf2fa69b8ff60f1b1633b68f47434075d00d75 (diff) | |
download | openttd-80c259f64fd38cdb84f2bcb8a146e7ec4a448070.tar.xz |
(svn r9672) -Cleanup: lots of coding style fixes around operands.
Diffstat (limited to 'src/airport_gui.cpp')
-rw-r--r-- | src/airport_gui.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/airport_gui.cpp b/src/airport_gui.cpp index abd7afd67..92697b963 100644 --- a/src/airport_gui.cpp +++ b/src/airport_gui.cpp @@ -105,7 +105,7 @@ static void BuildAirToolbWndProc(Window *w, WindowEvent *e) w = FindWindowById(WC_BUILD_STATION, 0); if (w != 0) - WP(w,def_d).close = true; + WP(w, def_d).close = true; break; case WE_DESTROY: @@ -155,7 +155,7 @@ static void BuildAirportPickerWndProc(Window *w, WindowEvent *e) uint32 avail_airports; const AirportFTAClass *airport; - if (WP(w,def_d).close) return; + if (WP(w, def_d).close) return; avail_airports = GetValidAirports(); @@ -207,7 +207,7 @@ static void BuildAirportPickerWndProc(Window *w, WindowEvent *e) } break; case WE_MOUSELOOP: { - if (WP(w,def_d).close) { + if (WP(w, def_d).close) { DeleteWindow(w); return; } @@ -216,7 +216,7 @@ static void BuildAirportPickerWndProc(Window *w, WindowEvent *e) } break; case WE_DESTROY: - if (!WP(w,def_d).close) ResetObjectToPlace(); + if (!WP(w, def_d).close) ResetObjectToPlace(); break; } } |