diff options
author | rubidium <rubidium@openttd.org> | 2010-11-13 19:15:26 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-11-13 19:15:26 +0000 |
commit | fc75b00992dbf6f86a39aca1a2cda4e6378b6bba (patch) | |
tree | 2b9c10b294d39bc0bd667ac26696d44a49ec93e2 /src/newgrf_text.h | |
parent | 034eb834cc277048e296bf1297f56e1667ab9881 (diff) | |
download | openttd-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.h | 2 |
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); |