summaryrefslogtreecommitdiff
path: root/src/statusbar_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/statusbar_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/statusbar_gui.cpp')
-rw-r--r--src/statusbar_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/statusbar_gui.cpp b/src/statusbar_gui.cpp
index 14e2dc0d8..0dea9dd8b 100644
--- a/src/statusbar_gui.cpp
+++ b/src/statusbar_gui.cpp
@@ -89,11 +89,11 @@ struct StatusBarWindow : Window {
StatusBarWindow(const WindowDesc *desc) : Window()
{
- CLRBITS(this->flags4, WF_WHITE_BORDER_MASK);
this->ticker_scroll = TICKER_STOP;
this->reminder_timeout = REMINDER_STOP;
this->InitNested(desc);
+ CLRBITS(this->flags4, WF_WHITE_BORDER_MASK);
PositionStatusbar(this);
}