diff options
author | rubidium <rubidium@openttd.org> | 2007-06-22 23:41:33 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-06-22 23:41:33 +0000 |
commit | f92368109c9f0f5fda828a5b7458bc733d1ce33a (patch) | |
tree | 24a14042fd54dff16283969fc38d833a037b2868 /src/strgen/strgen.cpp | |
parent | 872ba4e6595180a44eb44efe5b2b17ae014c72bd (diff) | |
download | openttd-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/strgen/strgen.cpp')
-rw-r--r-- | src/strgen/strgen.cpp | 2 |
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}, |