diff options
author | rubidium <rubidium@openttd.org> | 2009-07-20 11:21:57 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-07-20 11:21:57 +0000 |
commit | e3053660c673b0a81691175995ee68d00fac869c (patch) | |
tree | 2bce56e94620079087ae16f12c62217d4945e596 /src/industry_gui.cpp | |
parent | dc943b35e092f80bb5e3b972b4d5ed73bbccb546 (diff) | |
download | openttd-e3053660c673b0a81691175995ee68d00fac869c.tar.xz |
(svn r16886) -Codechange: unify naming of some string IDs related to string codes and group them logically
Diffstat (limited to 'src/industry_gui.cpp')
-rw-r--r-- | src/industry_gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/industry_gui.cpp b/src/industry_gui.cpp index 571b26706..6e1d93c33 100644 --- a/src/industry_gui.cpp +++ b/src/industry_gui.cpp @@ -852,12 +852,12 @@ protected: static char buf[96]; SetDParam(0, (*a)->town->index); - GetString(buf, STR_TOWN, lastof(buf)); + GetString(buf, STR_TOWN_NAME, lastof(buf)); if (*b != last_industry) { last_industry = *b; SetDParam(0, (*b)->town->index); - GetString(buf_cache, STR_TOWN, lastof(buf_cache)); + GetString(buf_cache, STR_TOWN_NAME, lastof(buf_cache)); } return strcmp(buf, buf_cache); |