summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-06-22 23:41:33 +0000
committerrubidium <rubidium@openttd.org>2007-06-22 23:41:33 +0000
commitf92368109c9f0f5fda828a5b7458bc733d1ce33a (patch)
tree24a14042fd54dff16283969fc38d833a037b2868 /src
parent872ba4e6595180a44eb44efe5b2b17ae014c72bd (diff)
downloadopenttd-f92368109c9f0f5fda828a5b7458bc733d1ce33a.tar.xz
(svn r10289) -Fix [FS#735]: {COMPANY} takes two arguments. As this was not properly accounted for the plural rule used the second argument of {COMPANY} instead of the later {COMMA}.
Diffstat (limited to 'src')
-rw-r--r--src/strgen/strgen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/strgen/strgen.cpp b/src/strgen/strgen.cpp
index 81752309d..2433f7394 100644
--- a/src/strgen/strgen.cpp
+++ b/src/strgen/strgen.cpp
@@ -463,7 +463,7 @@ static const CmdStruct _cmd_structs[] = {
// These are special versions of {STRING1}
// The first string includes the second string.
- {"COMPANY", EmitSingleChar, SCC_STRING1, 1, 0},
+ {"COMPANY", EmitSingleChar, SCC_STRING1, 2, 0},
{"PLAYERNAME", EmitSingleChar, SCC_STRING1, 1, 0},
{"VEHICLE", EmitSingleChar, SCC_STRING1, 1, 0},