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/misc_cmd.cpp | |
parent | b650a86e5859240e65d8654b5b08b211b2f33d7e (diff) | |
download | openttd-c9a82ac3e7540c57488fb72b351496fe75d4ceeb.tar.xz |
(svn r14423) -Codechange: also do r14221 for the strings.
Diffstat (limited to 'src/misc_cmd.cpp')
-rw-r--r-- | src/misc_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc_cmd.cpp b/src/misc_cmd.cpp index 319d0d6ad..eed1870e3 100644 --- a/src/misc_cmd.cpp +++ b/src/misc_cmd.cpp @@ -248,7 +248,7 @@ static bool IsUniquePresidentName(const char *name) FOR_ALL_COMPANIES(c) { SetDParam(0, c->index); - GetString(buf, STR_PLAYER_NAME, lastof(buf)); + GetString(buf, STR_PRESIDENT_NAME, lastof(buf)); if (strcmp(buf, name) == 0) return false; } |