1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-31 10:29:10 +00:00

(svn r25489) -Fix (r25488): we want to have the begin, not the end of the decoded text as string to pass along

This commit is contained in:
rubidium
2013-06-27 20:07:09 +00:00
parent 19eca468fc
commit 868001a1e0

View File

@@ -202,5 +202,6 @@ const char *Text::GetDecodedText()
static char buf[1024];
::SetDParamStr(0, encoded_text);
return ::GetString(buf, STR_JUST_RAW_STRING, lastof(buf));
::GetString(buf, STR_JUST_RAW_STRING, lastof(buf));
return buf;
}