summaryrefslogtreecommitdiff
path: root/newgrf_text.c
diff options
context:
space:
mode:
Diffstat (limited to 'newgrf_text.c')
-rw-r--r--newgrf_text.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newgrf_text.c b/newgrf_text.c
index e8d606d78..bcb462878 100644
--- a/newgrf_text.c
+++ b/newgrf_text.c
@@ -154,7 +154,7 @@ static GRFTextEntry _grf_text[(1 << TABSIZE) * 3];
static byte _currentLangID = GRFLX_ENGLISH; //by default, english is used.
-static char *TranslateTTDPatchCodes(const char *str)
+char *TranslateTTDPatchCodes(const char *str)
{
char *tmp = malloc(strlen(str) * 10 + 1); /* Allocate space to allow for expansion */
char *d = tmp;