summaryrefslogtreecommitdiff
path: root/src/industry_cmd.cpp
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2009-08-09 14:40:34 +0000
committersmatz <smatz@openttd.org>2009-08-09 14:40:34 +0000
commite707c824126ff8de5903d7c94f332d670529318a (patch)
tree9e51369165d8d8bfd6c03cc48386349886c0568f /src/industry_cmd.cpp
parent05a65dcc126d749e569562412c9b38ca6439eaf3 (diff)
downloadopenttd-e707c824126ff8de5903d7c94f332d670529318a.tar.xz
(svn r17131) -Codechange: apply coding style to some switch statements
Diffstat (limited to 'src/industry_cmd.cpp')
-rw-r--r--src/industry_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/industry_cmd.cpp b/src/industry_cmd.cpp
index 3efc21a35..e4c5fe0c2 100644
--- a/src/industry_cmd.cpp
+++ b/src/industry_cmd.cpp
@@ -2119,7 +2119,7 @@ static void ChangeIndustryProduction(Industry *i, bool monthly)
/* Get the custom message if any */
if (HasBit(res, 8)) str = MapGRFStringID(indspec->grf_prop.grffile->grfid, GB(GetRegister(0x100), 0, 16));
res = GB(res, 0, 4);
- switch(res) {
+ switch (res) {
default: NOT_REACHED();
case 0x0: break; // Do nothing, but show the custom message if any
case 0x1: div = 1; break; // Halve industry production. If production reaches the quarter of the default, the industry is closed instead.