Changeset - r18939:8896d47b8fa6
[Not reviewed]
master
0 1 0
yexo - 12 years ago 2012-01-15 13:06:11
yexo@openttd.org
(svn r23803) -Fix [FS#4969]: newgrf textstack was not properly used when storing parameters for the error message window
1 file changed with 2 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/error_gui.cpp
Show inline comments
 
@@ -119,8 +119,10 @@ public:
 
	{
 
		this->position.x = x;
 
		this->position.y = y;
 
		if (textref_stack_size > 0) StartTextRefStackUsage(textref_stack_size, textref_stack);
 
		CopyOutDParam(this->decode_params, this->strings, detailed_msg == INVALID_STRING_ID ? summary_msg : detailed_msg, lengthof(this->decode_params));
 
		if (textref_stack_size > 0) {
 
			StopTextRefStackUsage();
 
			MemCpyT(this->textref_stack, textref_stack, textref_stack_size);
 
		}
 

	
0 comments (0 inline, 0 general)