emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/src/w32menu.c


From: Jason Rumney
Subject: [Emacs-diffs] Changes to emacs/src/w32menu.c
Date: Thu, 15 Nov 2001 17:53:54 -0500

Index: emacs/src/w32menu.c
diff -u emacs/src/w32menu.c:1.43 emacs/src/w32menu.c:1.44
--- emacs/src/w32menu.c:1.43    Mon Nov 12 18:52:03 2001
+++ emacs/src/w32menu.c Thu Nov 15 17:53:54 2001
@@ -2085,7 +2085,7 @@
        }
       /* Draw radio buttons and tickboxes. */
       else if (wv->selected && (wv->button_type == BUTTON_TYPE_TOGGLE ||
-                           wv->button_type == BUTTON_TYPE_RADIO))
+                               wv->button_type == BUTTON_TYPE_RADIO))
        fuFlags |= MF_CHECKED;
       else
        fuFlags |= MF_UNCHECKED;
@@ -2101,7 +2101,7 @@
                 out_string );
 
   /* This must be done after the menu item is created.  */
-  if ((fuFlags & MF_STRING) != 0)
+  if (!wv->title && wv->call_data != 0)
     {
       HMODULE user32 = GetModuleHandle ("user32.dll");
       FARPROC set_menu_item_info = GetProcAddress (user32, "SetMenuItemInfoA");



reply via email to

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