summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/industry_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/industry_gui.cpp b/src/industry_gui.cpp
index 2c0e98b1f..e7cd41884 100644
--- a/src/industry_gui.cpp
+++ b/src/industry_gui.cpp
@@ -992,7 +992,7 @@ protected:
/* Industry name */
SetDParam(p++, i->index);
- char cargo_suffix[lengthof(i->produced_cargo)][512];
+ static char cargo_suffix[lengthof(i->produced_cargo)][512];
GetAllCargoSuffixes(3, CST_DIR, i, i->type, indsp, i->produced_cargo, cargo_suffix);
/* Industry productions */