summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-11-21 16:02:05 +0000
committerrubidium <rubidium@openttd.org>2009-11-21 16:02:05 +0000
commit5c6cf4f8d25d5953282437d22c5564c3a5ca587b (patch)
treee3b52c355dd500a374390fd86d2be616ed3727c7
parent402008d69edd75e86a9f25a69a3b7548109a9955 (diff)
downloadopenttd-5c6cf4f8d25d5953282437d22c5564c3a5ca587b.tar.xz
(svn r18206) -Fix [FS#3322]: on could 'pan' on the viewports of other windows, like the industry view, too
-rw-r--r--src/window.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window.cpp b/src/window.cpp
index df7c5e50b..02645f29c 100644
--- a/src/window.cpp
+++ b/src/window.cpp
@@ -770,7 +770,7 @@ void Window::InitializeData(WindowClass cls, int window_number, uint32 desc_flag
{
/* Set up window properties; some of them are needed to set up smallest size below */
this->window_class = cls;
- this->flags4 = WF_WHITE_BORDER_MASK; // just opened windows have a white border
+ this->flags4 |= WF_WHITE_BORDER_MASK; // just opened windows have a white border
this->owner = INVALID_OWNER;
this->nested_focus = NULL;
this->window_number = window_number;