summaryrefslogtreecommitdiffstats
path: root/generic/tkEvent.c
diff options
context:
space:
mode:
authordonal.k.fellows@manchester.ac.uk <dkf>2012-07-31 14:39:04 (GMT)
committerdonal.k.fellows@manchester.ac.uk <dkf>2012-07-31 14:39:04 (GMT)
commit1ce562f56295a9a345ead3b215e97da7ce60ebd5 (patch)
tree6faf126294b1235b3307dcc394cab895489ceef6 /generic/tkEvent.c
parent0ceee905984c22185bc6a52986c3d4e8f878785f (diff)
downloadtk-1ce562f56295a9a345ead3b215e97da7ce60ebd5.zip
tk-1ce562f56295a9a345ead3b215e97da7ce60ebd5.tar.gz
tk-1ce562f56295a9a345ead3b215e97da7ce60ebd5.tar.bz2
minor improvements to flag handling
Diffstat (limited to 'generic/tkEvent.c')
-rw-r--r--generic/tkEvent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkEvent.c b/generic/tkEvent.c
index dfa46ff..7dd2813 100644
--- a/generic/tkEvent.c
+++ b/generic/tkEvent.c
@@ -1336,7 +1336,7 @@ Tk_HandleEvent(
}
} else {
for (handlerPtr = winPtr->handlerList; handlerPtr != NULL; ) {
- if ((handlerPtr->mask & mask) != 0) {
+ if (handlerPtr->mask & mask) {
ip.nextHandler = handlerPtr->nextPtr;
handlerPtr->proc(handlerPtr->clientData, eventPtr);
handlerPtr = ip.nextHandler;