From e3053660c673b0a81691175995ee68d00fac869c Mon Sep 17 00:00:00 2001 From: rubidium Date: Mon, 20 Jul 2009 11:21:57 +0000 Subject: (svn r16886) -Codechange: unify naming of some string IDs related to string codes and group them logically --- src/industry_gui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/industry_gui.cpp') 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); -- cgit v1.2.3-54-g00ecf