summaryrefslogtreecommitdiff
path: root/src/town_cmd.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-07-20 11:21:57 +0000
committerrubidium <rubidium@openttd.org>2009-07-20 11:21:57 +0000
commite3053660c673b0a81691175995ee68d00fac869c (patch)
tree2bce56e94620079087ae16f12c62217d4945e596 /src/town_cmd.cpp
parentdc943b35e092f80bb5e3b972b4d5ed73bbccb546 (diff)
downloadopenttd-e3053660c673b0a81691175995ee68d00fac869c.tar.xz
(svn r16886) -Codechange: unify naming of some string IDs related to string codes and group them logically
Diffstat (limited to 'src/town_cmd.cpp')
-rw-r--r--src/town_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/town_cmd.cpp b/src/town_cmd.cpp
index 463435943..5b4c64185 100644
--- a/src/town_cmd.cpp
+++ b/src/town_cmd.cpp
@@ -1406,7 +1406,7 @@ static bool VerifyTownName(uint32 r, const TownNameParams *par)
/* We can't just compare the numbers since
* several numbers may map to a single name. */
SetDParam(0, t->index);
- GetString(buf2, STR_TOWN, lastof(buf2));
+ GetString(buf2, STR_TOWN_NAME, lastof(buf2));
if (strcmp(buf1, buf2) == 0) return false;
}