From 746096576ba29247ddcc7a9b6ca568731c08b7dc Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Wed, 8 Jan 2003 16:32:09 +0000 Subject: quashed another case of the 32-bit warning. --- Lib/plat-mac/FrameWork.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- cgit v0.12