Changeset - r19461:f656d62bc651
[Not reviewed]
master
0 1 0
frosch - 12 years ago 2012-07-07 11:13:41
frosch@openttd.org
(svn r24378) -Fix [FS#5218]: ReInit could crash for windows with NWidgetMatrix widgets.
1 file changed with 1 insertions and 3 deletions:
0 comments (0 inline, 0 general)
src/widget.cpp
Show inline comments
 
@@ -1528,9 +1528,7 @@ void NWidgetMatrix::AssignSizePosition(S
 
	/* When resizing, update the scrollbar's count. E.g. with a vertical
 
	 * scrollbar becoming wider or narrower means the amount of rows in
 
	 * the scrollbar becomes respectively smaller or higher. */
 
	if (sizing == ST_RESIZE) {
 
		this->SetCount(this->count);
 
	}
 
	this->SetCount(this->count);
 
}
 

	
 
void NWidgetMatrix::FillNestedArray(NWidgetBase **array, uint length)
0 comments (0 inline, 0 general)