diff options
author | dkf <dkf@noemail.net> | 2012-07-31 14:39:04 (GMT) |
---|---|---|
committer | dkf <dkf@noemail.net> | 2012-07-31 14:39:04 (GMT) |
commit | 38580505599388462eb75b8c410fe63f2a9d5cf2 (patch) | |
tree | 6faf126294b1235b3307dcc394cab895489ceef6 /generic/tkEvent.c | |
parent | f13e064cb63e9f0f191027737a0828049522456f (diff) | |
download | tk-38580505599388462eb75b8c410fe63f2a9d5cf2.zip tk-38580505599388462eb75b8c410fe63f2a9d5cf2.tar.gz tk-38580505599388462eb75b8c410fe63f2a9d5cf2.tar.bz2 |
minor improvements to flag handling
FossilOrigin-Name: 9507ac2ceef0b18eaa4733203d2e48e14f641631
Diffstat (limited to 'generic/tkEvent.c')
-rw-r--r-- | generic/tkEvent.c | 2 |
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; |