]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
WaitNextEvent short vs. unsigned short fix.
authorJack Jansen <jack.jansen@cwi.nl>
Mon, 25 Jun 2001 08:48:05 +0000 (08:48 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Mon, 25 Jun 2001 08:48:05 +0000 (08:48 +0000)
Mac/Demo/quicktime/VerySimplePlayer.py

index 6e031c20095ea7b153045ff7210ffbdc336d7fcc..3053d33a03a7fa4968b4f800a5b7bbb738f96f6f 100644 (file)
@@ -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