summaryrefslogtreecommitdiff
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
commit2d42f4544d4ca0d634b5eb578c64f243bfd5d713 (patch)
tree24a14042fd54dff16283969fc38d833a037b2868
parent34723257f0b39d5d97c1e7e20a054b7d0df3b6a6 (diff)
downloadopenttd-2d42f4544d4ca0d634b5eb578c64f243bfd5d713.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}.
-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},