summaryrefslogtreecommitdiff
path: root/src/newgrf_text.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-08-01 18:53:30 +0000
committerrubidium <rubidium@openttd.org>2010-08-01 18:53:30 +0000
commite356cb94050797cccbf05b3a411105528da8ee90 (patch)
tree3d98354dc5983a03e685f116b1b5c5b73607de0f /src/newgrf_text.cpp
parent605f6d0ed3c81a77d533f3db40ed50350d57536c (diff)
downloadopenttd-e356cb94050797cccbf05b3a411105528da8ee90.tar.xz
(svn r20281) -Codechange: unify case scope closure + break coding style
Diffstat (limited to 'src/newgrf_text.cpp')
-rw-r--r--src/newgrf_text.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/newgrf_text.cpp b/src/newgrf_text.cpp
index ccbdb37de..7cb8fd334 100644
--- a/src/newgrf_text.cpp
+++ b/src/newgrf_text.cpp
@@ -287,7 +287,8 @@ char *TranslateTTDPatchCodes(uint32 grfid, const char *str)
tmp |= ((uint8)*str++) << 8;
d += Utf8Encode(d, SCC_NEWGRF_PUSH_WORD);
d += Utf8Encode(d, tmp);
- } break;
+ break;
+ }
case 4:
d += Utf8Encode(d, SCC_NEWGRF_UNPRINT);
d += Utf8Encode(d, *str++);