aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii2018-06-16 10:17:05 +0300
committerEli Zaretskii2018-06-16 10:17:05 +0300
commit31b2680bc955b99fd812d904a95271afbc3882db (patch)
treeaf4d2ea5f7980b1d4816173e83d652e0b968fd30 /src
parenta36008b5fc92b9ea00d70973ddc761c94a831c01 (diff)
downloademacs-31b2680bc955b99fd812d904a95271afbc3882db.tar.gz
emacs-31b2680bc955b99fd812d904a95271afbc3882db.zip
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')
-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,
2290 XMenuActivateSetWaitFunction (x_menu_wait_for_event, FRAME_X_DISPLAY (f)); 2290 XMenuActivateSetWaitFunction (x_menu_wait_for_event, FRAME_X_DISPLAY (f));
2291#endif 2291#endif
2292 2292
2293 record_unwind_protect_pointer (pop_down_menu, 2293 record_unwind_protect_ptr (pop_down_menu,
2294 &(struct pop_down_menu) {f, menu}); 2294 &(struct pop_down_menu) {f, menu});
2295 2295
2296 /* Help display under X won't work because XMenuActivate contains 2296 /* Help display under X won't work because XMenuActivate contains
2297 a loop that doesn't give Emacs a chance to process it. */ 2297 a loop that doesn't give Emacs a chance to process it. */