(svn r22932) -Fix [FS#4766]: disable the white border on window creation for several windows (based on patch by monoid)

This commit is contained in:
yexo
2011-09-15 13:26:27 +00:00
parent 6168dc04ad
commit 7196157d2d
6 changed files with 6 additions and 4 deletions

View File

@@ -148,7 +148,7 @@ struct DropdownWindow : Window {
this->GetWidget<NWidgetStacked>(DDM_SHOW_SCROLL)->SetDisplayedPlane(scroll ? 0 : SZSP_NONE);
this->FinishInitNested(&_dropdown_desc, 0);
this->flags4 &= ~WF_WHITE_BORDER_MASK;
CLRBITS(this->flags4, WF_WHITE_BORDER_MASK);
/* Total length of list */
int list_height = 0;