summaryrefslogtreecommitdiff
path: root/src/airport_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-04-18 22:10:36 +0000
committerrubidium <rubidium@openttd.org>2007-04-18 22:10:36 +0000
commit7577954ced47f09803bc1b3881d47f222dbd306b (patch)
treef018095aed2d70f8386d800c8e8ac662f4b9c8fa /src/airport_gui.cpp
parent0d32783f87b9a32fa8f0bf539514ed08faebbd2a (diff)
downloadopenttd-7577954ced47f09803bc1b3881d47f222dbd306b.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.cpp8
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;
}
}