mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-11 13:10:45 +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:
parent
19eca468fc
commit
868001a1e0
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user