diff options
author | rubidium <rubidium@openttd.org> | 2008-09-30 21:18:28 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-09-30 21:18:28 +0000 |
commit | c9a82ac3e7540c57488fb72b351496fe75d4ceeb (patch) | |
tree | 458b1d612f512ec8493ee816b6a4c31d7f3d361c /src/strings.cpp | |
parent | b650a86e5859240e65d8654b5b08b211b2f33d7e (diff) | |
download | openttd-c9a82ac3e7540c57488fb72b351496fe75d4ceeb.tar.xz |
(svn r14423) -Codechange: also do r14221 for the strings.
Diffstat (limited to 'src/strings.cpp')
-rw-r--r-- | src/strings.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/strings.cpp b/src/strings.cpp index 9059f56a1..5d85f8cf5 100644 --- a/src/strings.cpp +++ b/src/strings.cpp @@ -978,12 +978,12 @@ static char* FormatString(char* buff, const char* str, const int64* argv, uint c if (IsValidCompanyID(company) && IsHumanCompany(company)) { int64 args[1]; args[0] = company + 1; - buff = GetStringWithArgs(buff, STR_7002_PLAYER, args, last); + buff = GetStringWithArgs(buff, STR_7002_COMPANY, args, last); } break; } - case SCC_PLAYER_NAME: { // {PLAYERNAME} + case SCC_PRESIDENT_NAME: { // {PRESIDENTNAME} const Company *c = GetCompany((CompanyID)GetInt32(&argv)); if (c->president_name != NULL) { |