diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2003-01-08 16:32:09 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2003-01-08 16:32:09 (GMT) |
commit | 746096576ba29247ddcc7a9b6ca568731c08b7dc (patch) | |
tree | 0cc906ae4029a082c697d02f0316a5c38fdfda69 | |
parent | 679751455798fab6425fda749a19e783e58b210e (diff) | |
download | cpython-746096576ba29247ddcc7a9b6ca568731c08b7dc.zip cpython-746096576ba29247ddcc7a9b6ca568731c08b7dc.tar.gz cpython-746096576ba29247ddcc7a9b6ca568731c08b7dc.tar.bz2 |
quashed another case of the 32-bit warning.
-rw-r--r-- | Lib/plat-mac/FrameWork.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/plat-mac/FrameWork.py b/Lib/plat-mac/FrameWork.py index 24acd41..5ebf9d1 100644 --- a/Lib/plat-mac/FrameWork.py +++ b/Lib/plat-mac/FrameWork.py @@ -645,7 +645,7 @@ class PopupMenu(Menu): reply = self.menu.PopUpMenuSelect(x, y, default) if not reply: return - id = (reply & 0xffff0000) >> 16 + id = (reply >> 16) & 0xffff item = reply & 0xffff if not window: wid = MyFrontWindow() |