summaryrefslogtreecommitdiff
path: root/src/xmenu.c
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2018-06-16 10:17:05 +0300
committerEli Zaretskii <eliz@gnu.org>2018-06-16 10:17:05 +0300
commit31b2680bc955b99fd812d904a95271afbc3882db (patch)
treeaf4d2ea5f7980b1d4816173e83d652e0b968fd30 /src/xmenu.c
parenta36008b5fc92b9ea00d70973ddc761c94a831c01 (diff)
downloademacs-31b2680bc955b99fd812d904a95271afbc3882db.tar.gz
Fix a typo in xmenu.c
* src/xmenu.c (x_menu_show): Replace a call to record_unwind_protect_pointer with record_unwind_protect_ptr. (Bug#31856)
Diffstat (limited to 'src/xmenu.c')
-rw-r--r--src/xmenu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xmenu.c b/src/xmenu.c
index 2fbf9e8bf68..22995d8c7e8 100644
--- a/src/xmenu.c
+++ b/src/xmenu.c
@@ -2290,8 +2290,8 @@ x_menu_show (struct frame *f, int x, int y, int menuflags,
XMenuActivateSetWaitFunction (x_menu_wait_for_event, FRAME_X_DISPLAY (f));
#endif
- record_unwind_protect_pointer (pop_down_menu,
- &(struct pop_down_menu) {f, menu});
+ record_unwind_protect_ptr (pop_down_menu,
+ &(struct pop_down_menu) {f, menu});
/* Help display under X won't work because XMenuActivate contains
a loop that doesn't give Emacs a chance to process it. */