summaryrefslogtreecommitdiff
path: root/src/industry_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/industry_gui.cpp')
-rw-r--r--src/industry_gui.cpp4
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);