mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-06-30 08:59:35 +01: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:
parent
19eca468fc
commit
868001a1e0
@ -202,5 +202,6 @@ const char *Text::GetDecodedText()
|
|||||||
|
|
||||||
static char buf[1024];
|
static char buf[1024];
|
||||||
::SetDParamStr(0, encoded_text);
|
::SetDParamStr(0, encoded_text);
|
||||||
return ::GetString(buf, STR_JUST_RAW_STRING, lastof(buf));
|
::GetString(buf, STR_JUST_RAW_STRING, lastof(buf));
|
||||||
|
return buf;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user