diff options
author | yexo <yexo@openttd.org> | 2011-09-15 13:26:27 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2011-09-15 13:26:27 +0000 |
commit | ad232bd497e7dc116adbd26515d7a2c54ea3b3c0 (patch) | |
tree | 6aab656bbc69c04185b6da780cbd6663f772aac6 /src/widgets | |
parent | 9a6ec0dce7c7e755c99b031b4f2ab312107c84f6 (diff) | |
download | openttd-ad232bd497e7dc116adbd26515d7a2c54ea3b3c0.tar.xz |
(svn r22932) -Fix [FS#4766]: disable the white border on window creation for several windows (based on patch by monoid)
Diffstat (limited to 'src/widgets')
-rw-r--r-- | src/widgets/dropdown.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<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; |