summaryrefslogtreecommitdiff
path: root/src/newgrf_text.h
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2017-04-09 21:58:07 +0000
committerpeter1138 <peter1138@openttd.org>2017-04-09 21:58:07 +0000
commit0d13f793f28a2846ff3f3211c114730f17a21574 (patch)
treeb000b528a6c6829280c57cd38d03aae811223818 /src/newgrf_text.h
parent144604a29e7a7d9f0cbcb32a40f4fde54650ecc0 (diff)
downloadopenttd-0d13f793f28a2846ff3f3211c114730f17a21574.tar.xz
(svn r27851) -Fix [FS#6555]: StringID truncation to 16 bits broke string remapping test.
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 6587fc1fe..033967d30 100644
--- a/src/newgrf_text.h
+++ b/src/newgrf_text.h
@@ -21,7 +21,7 @@
static const WChar NFO_UTF8_IDENTIFIER = 0x00DE;
StringID AddGRFString(uint32 grfid, uint16 stringid, byte langid, bool new_scheme, bool allow_newlines, const char *text_to_add, StringID def_string);
-StringID GetGRFStringID(uint32 grfid, uint16 stringid);
+StringID GetGRFStringID(uint32 grfid, StringID stringid);
const char *GetGRFStringFromGRFText(const struct GRFText *text);
const char *GetGRFStringPtr(uint16 stringid);
void CleanUpStrings();