Mercurial > hg > openttd
diff src/town_cmd.cpp @ 12452:499dee1c27b6 draft
(svn r16886) -Codechange: unify naming of some string IDs related to string codes and group them logically
author | rubidium <rubidium@openttd.org> |
---|---|
date | Mon, 20 Jul 2009 11:21:57 +0000 |
parents | 2d2c69d25637 |
children | c133b51890f4 |
line wrap: on
line diff
--- a/src/town_cmd.cpp +++ b/src/town_cmd.cpp @@ -1406,7 +1406,7 @@ /* 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; }