diff options
author | rubidium <rubidium@openttd.org> | 2008-09-23 15:24:15 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-09-23 15:24:15 +0000 |
commit | f49d5057ee811da59d2fb57df9e67760aeac17d8 (patch) | |
tree | 5750d793f5ad84cfe126c7054b76cb5950f64300 /src/window.cpp | |
parent | d49381e5c9e3d22a4f85ebd725a8faf6d2ab9e5a (diff) | |
download | openttd-f49d5057ee811da59d2fb57df9e67760aeac17d8.tar.xz |
(svn r14390) -Codechange: replace magic constants with symbolic constants.
Diffstat (limited to 'src/window.cpp')
-rw-r--r-- | src/window.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window.cpp b/src/window.cpp index 3686b0e14..2a46da55b 100644 --- a/src/window.cpp +++ b/src/window.cpp @@ -116,7 +116,7 @@ void Window::InvalidateWidget(byte widget_index) const void Window::HandleButtonClick(byte widget) { this->LowerWidget(widget); - this->flags4 |= 5 << WF_TIMEOUT_SHL; + this->flags4 |= WF_TIMEOUT_BEGIN; this->InvalidateWidget(widget); } |