1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-16 11:09:11 +00:00

(svn r13720) -Fix (r13715): string wasn't correctly passed to draw function.

This commit is contained in:
rubidium
2008-07-17 21:15:57 +00:00
parent d06529ef4d
commit 6e1aaa2c69

View File

@@ -493,6 +493,7 @@ uint ShowRefitOptionsList(int x, int y, uint w, EngineID engine)
/* Make sure we detect any buffer overflow */
assert(b < endof(string));
SetDParamStr(0, string);
return DrawStringMultiLine(x, y, STR_JUST_RAW_STRING, w);
}