summaryrefslogtreecommitdiffstats
path: root/Lib/plat-mac/FrameWork.py
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2003-01-08 16:32:09 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2003-01-08 16:32:09 (GMT)
commit746096576ba29247ddcc7a9b6ca568731c08b7dc (patch)
tree0cc906ae4029a082c697d02f0316a5c38fdfda69 /Lib/plat-mac/FrameWork.py
parent679751455798fab6425fda749a19e783e58b210e (diff)
downloadcpython-746096576ba29247ddcc7a9b6ca568731c08b7dc.zip
cpython-746096576ba29247ddcc7a9b6ca568731c08b7dc.tar.gz
cpython-746096576ba29247ddcc7a9b6ca568731c08b7dc.tar.bz2
quashed another case of the 32-bit warning.
Diffstat (limited to 'Lib/plat-mac/FrameWork.py')
-rw-r--r--Lib/plat-mac/FrameWork.py2
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()