summaryrefslogtreecommitdiff
path: root/src/menu.c
diff options
context:
space:
mode:
authorDavid Reitter <david.reitter@gmail.com>2009-11-12 00:26:09 +0000
committerDavid Reitter <david.reitter@gmail.com>2009-11-12 00:26:09 +0000
commitcf54c75498fb4cbef5c00f2f30574640ff727dcd (patch)
treebbbd7907c3febb71bce9bff996f811f592005392 /src/menu.c
parent9143355208b29540112fd1d4810d44b04b5486cc (diff)
downloademacs-cf54c75498fb4cbef5c00f2f30574640ff727dcd.tar.gz
emacs-cf54c75498fb4cbef5c00f2f30574640ff727dcd.tar.bz2
emacs-cf54c75498fb4cbef5c00f2f30574640ff727dcd.zip
menu.c (Fx_popup_menu): Remove left-over debugging code and rename variables to fix 2009-11-09 change.
Diffstat (limited to 'src/menu.c')
-rw-r--r--src/menu.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/menu.c b/src/menu.c
index 44eebe8dbe7..313327d4721 100644
--- a/src/menu.c
+++ b/src/menu.c
@@ -1074,10 +1074,6 @@ no quit occurs and `x-popup-menu' returns nil. */)
Lisp_Object timestamp = Qnil;
struct gcpro gcpro1;
-#ifdef HAVE_NS
- NSTRACE (ns_popup_menu);
-#endif
-
if (NILP (position))
/* This is an obsolete call, which wants us to precompute the
keybinding equivalents, but we don't do that any more anyway. */
@@ -1187,8 +1183,8 @@ no quit occurs and `x-popup-menu' returns nil. */)
f = XFRAME (WINDOW_FRAME (win));
#ifdef HAVE_NS /* FIXME: Is this necessary?? --Stef */
- p.x = FRAME_COLUMN_WIDTH (f) * WINDOW_LEFT_EDGE_COL (win);
- p.y = FRAME_LINE_HEIGHT (f) * WINDOW_TOP_EDGE_LINE (win);
+ xpos = FRAME_COLUMN_WIDTH (f) * WINDOW_LEFT_EDGE_COL (win);
+ ypos = FRAME_LINE_HEIGHT (f) * WINDOW_TOP_EDGE_LINE (win);
#else
xpos = WINDOW_LEFT_EDGE_X (win);
ypos = WINDOW_TOP_EDGE_Y (win);