(svn r1112) -Fix: _decode_parameters was increased to [20], but not all temp-dparams were
This commit is contained in:
		@@ -372,7 +372,7 @@ void ShowBuildTreesScenToolbar()
 | 
				
			|||||||
	AllocateWindowDescFront(&_build_trees_scen_desc, 0);
 | 
						AllocateWindowDescFront(&_build_trees_scen_desc, 0);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static uint32 _errmsg_decode_params[10];
 | 
					static uint32 _errmsg_decode_params[20];
 | 
				
			||||||
static StringID _errmsg_message_1, _errmsg_message_2;
 | 
					static StringID _errmsg_message_1, _errmsg_message_2;
 | 
				
			||||||
static uint _errmsg_duration;
 | 
					static uint _errmsg_duration;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										2
									
								
								widget.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								widget.c
									
									
									
									
									
								
							@@ -146,7 +146,7 @@ void DrawWindowWidgets(Window *w)
 | 
				
			|||||||
	const Widget *wi;
 | 
						const Widget *wi;
 | 
				
			||||||
	DrawPixelInfo *dpi = _cur_dpi;
 | 
						DrawPixelInfo *dpi = _cur_dpi;
 | 
				
			||||||
	Rect r;
 | 
						Rect r;
 | 
				
			||||||
	uint32 dparam_backup[10];
 | 
						uint32 dparam_backup[20];
 | 
				
			||||||
	uint32 cur_click, cur_disabled, cur_hidden;
 | 
						uint32 cur_click, cur_disabled, cur_hidden;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if (w->desc_flags & WDF_RESTORE_DPARAM)	COPY_OUT_DPARAM(dparam_backup, 0, lengthof(dparam_backup));
 | 
						if (w->desc_flags & WDF_RESTORE_DPARAM)	COPY_OUT_DPARAM(dparam_backup, 0, lengthof(dparam_backup));
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user