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 | 96156a8ab137516cf52a06fba0b68dcbb799c337 (patch) | |
tree | 458b1d612f512ec8493ee816b6a4c31d7f3d361c /src/strings.cpp | |
parent | e589c7e580329137edbbf8d0e8e7f2333256b8d3 (diff) | |
download | openttd-96156a8ab137516cf52a06fba0b68dcbb799c337.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) { |