summaryrefslogtreecommitdiff
path: root/src/newgrf_text.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-11-13 19:15:26 +0000
committerrubidium <rubidium@openttd.org>2010-11-13 19:15:26 +0000
commitfc75b00992dbf6f86a39aca1a2cda4e6378b6bba (patch)
tree2b9c10b294d39bc0bd667ac26696d44a49ec93e2 /src/newgrf_text.h
parent034eb834cc277048e296bf1297f56e1667ab9881 (diff)
downloadopenttd-fc75b00992dbf6f86a39aca1a2cda4e6378b6bba.tar.xz
(svn r21178) -Codechange: pass the language_id to TranslateTTDPatchCodes as well
Diffstat (limited to 'src/newgrf_text.h')
-rw-r--r--src/newgrf_text.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_text.h b/src/newgrf_text.h
index e6e3b9e16..e86487c21 100644
--- a/src/newgrf_text.h
+++ b/src/newgrf_text.h
@@ -20,7 +20,7 @@ const char *GetGRFStringFromGRFText(const struct GRFText *text);
const char *GetGRFStringPtr(uint16 stringid);
void CleanUpStrings();
void SetCurrentGrfLangID(byte language_id);
-char *TranslateTTDPatchCodes(uint32 grfid, const char *str);
+char *TranslateTTDPatchCodes(uint32 grfid, uint8 language_id, const char *str);
struct GRFText *DuplicateGRFText(struct GRFText *orig);
void AddGRFTextToList(struct GRFText **list, struct GRFText *text_to_add);
void AddGRFTextToList(struct GRFText **list, byte langid, uint32 grfid, const char *text_to_add);