src/vehicle_gui.cpp
changeset 11162 37d01497c935
parent 11161 7d0fac8f14cd
equal deleted inserted replaced
11161:7d0fac8f14cd 11162:37d01497c935
   491 	*b = '\0';
   491 	*b = '\0';
   492 
   492 
   493 	/* Make sure we detect any buffer overflow */
   493 	/* Make sure we detect any buffer overflow */
   494 	assert(b < endof(string));
   494 	assert(b < endof(string));
   495 
   495 
       
   496 	SetDParamStr(0, string);
   496 	return DrawStringMultiLine(x, y, STR_JUST_RAW_STRING, w);
   497 	return DrawStringMultiLine(x, y, STR_JUST_RAW_STRING, w);
   497 }
   498 }
   498 
   499 
   499 
   500 
   500 /** Sort vehicles by their number */
   501 /** Sort vehicles by their number */