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 | c1594e45c53b20ffdcb280385b18c9d02b77e34a (patch) | |
tree | 3cc89244b8d2819c790f8e8fb5c9a9452f5517a5 /src/vehicle_gui.cpp | |
parent | 6898a76c5f80ef1aa65106f98d5e36002bc0ddda (diff) | |
download | openttd-c1594e45c53b20ffdcb280385b18c9d02b77e34a.tar.xz |
(svn r13720) -Fix (r13715): string wasn't correctly passed to draw function.
Diffstat (limited to 'src/vehicle_gui.cpp')
-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); } |