Changeset - r20474:5b60dd163564
[Not reviewed]
master
0 1 0
rubidium - 11 years ago 2013-06-27 20:07:09
rubidium@openttd.org
(svn r25489) -Fix (r25488): we want to have the begin, not the end of the decoded text as string to pass along
1 file changed with 2 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/script/api/script_text.cpp
Show inline comments
 
@@ -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;
 
}
0 comments (0 inline, 0 general)