(svn r13720) -Fix (r13715): string wasn't correctly passed to draw function.
authorrubidium
Thu, 17 Jul 2008 21:15:57 +0000
changeset 11162 37d01497c935
parent 11161 7d0fac8f14cd
child 11163 7034daa18792
(svn r13720) -Fix (r13715): string wasn't correctly passed to draw function.
src/vehicle_gui.cpp
--- a/src/vehicle_gui.cpp	Thu Jul 17 20:13:01 2008 +0000
+++ b/src/vehicle_gui.cpp	Thu Jul 17 21:15:57 2008 +0000
@@ -493,6 +493,7 @@
 	/* Make sure we detect any buffer overflow */
 	assert(b < endof(string));
 
+	SetDParamStr(0, string);
 	return DrawStringMultiLine(x, y, STR_JUST_RAW_STRING, w);
 }