1
0
Fork 0

(svn r24378) -Fix [FS#5218]: ReInit could crash for windows with NWidgetMatrix widgets.

release/1.3
frosch 2012-07-07 11:13:41 +00:00
parent 95b2f4ba95
commit 4843bad1ac
1 changed files with 1 additions and 3 deletions

View File

@ -1528,9 +1528,7 @@ void NWidgetMatrix::AssignSizePosition(SizingType sizing, uint x, uint y, uint g
/* 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);
}
}
void NWidgetMatrix::FillNestedArray(NWidgetBase **array, uint length)