summaryrefslogtreecommitdiff
path: root/src/industry_gui.cpp
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2009-08-14 17:11:59 +0000
committersmatz <smatz@openttd.org>2009-08-14 17:11:59 +0000
commitc5533ae4708d85dcdff8e53515e17ab593f7f361 (patch)
tree8fd6af1f0c5acb1263bb85643a19f5516a6822a5 /src/industry_gui.cpp
parent3108ff7ac667edf872ee96c6331f0f45e5253d98 (diff)
downloadopenttd-c5533ae4708d85dcdff8e53515e17ab593f7f361.tar.xz
(svn r17168) -Codechange: apply coding style to if and while statements
Diffstat (limited to 'src/industry_gui.cpp')
-rw-r--r--src/industry_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/industry_gui.cpp b/src/industry_gui.cpp
index 23492a765..6d79fb5b3 100644
--- a/src/industry_gui.cpp
+++ b/src/industry_gui.cpp
@@ -143,7 +143,7 @@ class BuildIndustryWindow : public Window {
*/
for (ind = 0; ind < NUM_INDUSTRYTYPES; ind++) {
indsp = GetIndustrySpec(ind);
- if (indsp->enabled){
+ if (indsp->enabled) {
/* Rule is that editor mode loads all industries.
* In game mode, all non raw industries are loaded too
* and raw ones are loaded only when setting allows it */