mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-08 01:10:28 +00:00
(svn r13720) -Fix (r13715): string wasn't correctly passed to draw function.
This commit is contained in:
parent
d06529ef4d
commit
6e1aaa2c69
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user