summaryrefslogtreecommitdiff
path: root/src/main_gui.cpp
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2011-09-15 13:26:27 +0000
committeryexo <yexo@openttd.org>2011-09-15 13:26:27 +0000
commitad232bd497e7dc116adbd26515d7a2c54ea3b3c0 (patch)
tree6aab656bbc69c04185b6da780cbd6663f772aac6 /src/main_gui.cpp
parent9a6ec0dce7c7e755c99b031b4f2ab312107c84f6 (diff)
downloadopenttd-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/main_gui.cpp')
-rw-r--r--src/main_gui.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main_gui.cpp b/src/main_gui.cpp
index 14132cbba..4d6f1a170 100644
--- a/src/main_gui.cpp
+++ b/src/main_gui.cpp
@@ -244,6 +244,7 @@ struct MainWindow : Window
MainWindow() : Window()
{
this->InitNested(&_main_window_desc, 0);
+ CLRBITS(this->flags4, WF_WHITE_BORDER_MASK);
ResizeWindow(this, _screen.width, _screen.height);
NWidgetViewport *nvp = this->GetWidget<NWidgetViewport>(MW_VIEWPORT);