diff options
author | rubidium <rubidium@openttd.org> | 2008-07-17 21:15:57 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-07-17 21:15:57 +0000 |
commit | 6e1aaa2c69dbd89442287733d43efdc07a8241cf (patch) | |
tree | 3cc89244b8d2819c790f8e8fb5c9a9452f5517a5 /src | |
parent | d06529ef4d84ce90c90ed560a6b2f3525880c40e (diff) | |
download | openttd-6e1aaa2c69dbd89442287733d43efdc07a8241cf.tar.xz |
(svn r13720) -Fix (r13715): string wasn't correctly passed to draw function.
Diffstat (limited to 'src')
-rw-r--r-- | src/vehicle_gui.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vehicle_gui.cpp b/src/vehicle_gui.cpp index 58ecbe7b0..894b3d7de 100644 --- a/src/vehicle_gui.cpp +++ b/src/vehicle_gui.cpp @@ -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); } |