emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 31b2680 2/2: Fix a typo in xmenu.c


From: Eli Zaretskii
Subject: [Emacs-diffs] master 31b2680 2/2: Fix a typo in xmenu.c
Date: Sat, 16 Jun 2018 03:17:48 -0400 (EDT)

branch: master
commit 31b2680bc955b99fd812d904a95271afbc3882db
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    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)
---
 src/xmenu.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/xmenu.c b/src/xmenu.c
index 2fbf9e8..22995d8 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.  */



reply via email to

[Prev in Thread] Current Thread [Next in Thread]