aboutsummaryrefslogtreecommitdiffstats
path: root/src/menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/menu.c')
-rw-r--r--src/menu.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/menu.c b/src/menu.c
index 5374aa9157a..6e052dc65a9 100644
--- a/src/menu.c
+++ b/src/menu.c
@@ -40,7 +40,11 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
40#endif /* HAVE_WINDOW_SYSTEM */ 40#endif /* HAVE_WINDOW_SYSTEM */
41 41
42#ifdef HAVE_NTGUI 42#ifdef HAVE_NTGUI
43# ifdef NTGUI_UNICODE
44# define unicode_append_menu AppendMenuW
45# else /* !NTGUI_UNICODE */
43extern AppendMenuW_Proc unicode_append_menu; 46extern AppendMenuW_Proc unicode_append_menu;
47# endif /* NTGUI_UNICODE */
44extern HMENU current_popup_menu; 48extern HMENU current_popup_menu;
45#endif /* HAVE_NTGUI */ 49#endif /* HAVE_NTGUI */
46 50
@@ -327,7 +331,7 @@ single_menu_item (Lisp_Object key, Lisp_Object item, Lisp_Object dummy, void *sk
327{ 331{
328 Lisp_Object map, item_string, enabled; 332 Lisp_Object map, item_string, enabled;
329 struct gcpro gcpro1, gcpro2; 333 struct gcpro gcpro1, gcpro2;
330 int res; 334 bool res;
331 struct skp *skp = skp_v; 335 struct skp *skp = skp_v;
332 336
333 /* Parse the menu item and leave the result in item_properties. */ 337 /* Parse the menu item and leave the result in item_properties. */