diff options
author | alberth <alberth@openttd.org> | 2009-03-22 18:46:56 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2009-03-22 18:46:56 +0000 |
commit | 2fe151bd923ffb980645b1317b352fbc6351e7bc (patch) | |
tree | 8a4849916fd40fc8516c425c184efd3a8a9c14d9 /src/window.cpp | |
parent | dcf7d05a66106d709e4faaeaf4411ba0afdf1ba5 (diff) | |
download | openttd-2fe151bd923ffb980645b1317b352fbc6351e7bc.tar.xz |
(svn r15817) -Codechange: Make room for additional widget types (Rubidium)
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 ad8bbc889..5046f5364 100644 --- a/src/window.cpp +++ b/src/window.cpp @@ -284,7 +284,7 @@ static void DispatchLeftClickEvent(Window *w, int x, int y, bool double_click) } } - if (wi->type & WWB_MASK) { + if (wi->type & WWB_PUSHBUTTON) { /* special widget handling for buttons*/ switch (wi->type) { default: NOT_REACHED(); |