summaryrefslogtreecommitdiffstats
path: root/generic/tkBind.c
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2020-05-10 21:10:40 (GMT)
committerfvogel <fvogelnew1@free.fr>2020-05-10 21:10:40 (GMT)
commit93f919cfa602e72d68863dcd680ef59e236dfeb1 (patch)
tree89c7e100ab8bcf5cfbccf0419b5b233519df5d2b /generic/tkBind.c
parent2e5e7169a2c2ada2ccea606cea27730ad488e58f (diff)
downloadtk-93f919cfa602e72d68863dcd680ef59e236dfeb1.zip
tk-93f919cfa602e72d68863dcd680ef59e236dfeb1.tar.gz
tk-93f919cfa602e72d68863dcd680ef59e236dfeb1.tar.bz2
Remove a now useless test.
Diffstat (limited to 'generic/tkBind.c')
-rw-r--r--generic/tkBind.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkBind.c b/generic/tkBind.c
index d4c6b52..9bb4f06 100644
--- a/generic/tkBind.c
+++ b/generic/tkBind.c
@@ -2314,7 +2314,7 @@ Tk_BindEvent(
*/
curEvent->xev = *eventPtr;
- if ((flags & KEY) && (eventPtr->type != MouseWheelEvent)) {
+ if (flags & KEY) {
curEvent->detail.info = TkpGetKeySym(dispPtr, eventPtr);
} else if (flags & BUTTON) {
curEvent->detail.info = eventPtr->xbutton.button;