From 6e1aaa2c69dbd89442287733d43efdc07a8241cf Mon Sep 17 00:00:00 2001 From: rubidium Date: Thu, 17 Jul 2008 21:15:57 +0000 Subject: (svn r13720) -Fix (r13715): string wasn't correctly passed to draw function. --- src/vehicle_gui.cpp | 1 + 1 file changed, 1 insertion(+) 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); } -- cgit v1.2.3-70-g09d2