From ad232bd497e7dc116adbd26515d7a2c54ea3b3c0 Mon Sep 17 00:00:00 2001 From: yexo Date: Thu, 15 Sep 2011 13:26:27 +0000 Subject: (svn r22932) -Fix [FS#4766]: disable the white border on window creation for several windows (based on patch by monoid) --- src/widgets/dropdown.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/widgets') diff --git a/src/widgets/dropdown.cpp b/src/widgets/dropdown.cpp index d6680479c..3949cdbfb 100644 --- a/src/widgets/dropdown.cpp +++ b/src/widgets/dropdown.cpp @@ -148,7 +148,7 @@ struct DropdownWindow : Window { this->GetWidget(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; -- cgit v1.2.3-54-g00ecf