mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
WaitNextEvent short vs. unsigned short fix.
This commit is contained in:
parent
d7b6ed268e
commit
19f273c7b6
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ def main():
|
|||
|
||||
done = 0
|
||||
while not done:
|
||||
gotone, evt = Evt.WaitNextEvent(-1, 0)
|
||||
gotone, evt = Evt.WaitNextEvent(0xffff, 0)
|
||||
(what, message, when, where, modifiers) = evt
|
||||
## print what, message, when, where, modifiers # XXXX
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue