diff options
author | peter1138 <peter1138@openttd.org> | 2006-12-04 08:30:04 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2006-12-04 08:30:04 +0000 |
commit | bd66cc57569a034b02674fa8aaa5dbe521e73a36 (patch) | |
tree | fb2a8cf881b385cb52b110880f86128061ea020c /newgrf_text.c | |
parent | dc8992a677b8b7b56b8ad55d7da690b77105bb83 (diff) | |
download | openttd-bd66cc57569a034b02674fa8aaa5dbe521e73a36.tar.xz |
(svn r7348) -Feature: Initial support for saving NewGRF settings with savegames. Back up your savegames...
Diffstat (limited to 'newgrf_text.c')
-rw-r--r-- | newgrf_text.c | 2 |
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; |