mirror of https://github.com/OpenTTD/OpenTTD
(svn r13720) -Fix (r13715): string wasn't correctly passed to draw function.
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