diff src/menubar-msw.c @ 1913:7473844a83d3

[xemacs-hg @ 2004-02-17 15:20:41 by james] Check in_display instead of passing fallible in_redisplay parameters.
author james
date Tue, 17 Feb 2004 15:20:57 +0000
parents 01c57eb70ae9
children 04bc9d2f42c7
line wrap: on
line diff
--- a/src/menubar-msw.c	Mon Feb 16 22:51:09 2004 +0000
+++ b/src/menubar-msw.c	Tue Feb 17 15:20:57 2004 +0000
@@ -273,7 +273,7 @@
 	  goto done;
 	}
 
-      if (!gui_item_active_p (gui_item, 0))
+      if (!gui_item_active_p (gui_item))
 	item_info.fState = MFS_GRAYED;
       /* Temptation is to put 'else' right here. Although, the
 	 displayed item won't have an arrow indicating that it is a
@@ -328,7 +328,7 @@
       if (!STRINGP (pgui_item->name))
 	pgui_item->name = Feval (pgui_item->name);
 
-      if (!gui_item_active_p (gui_item, 0))
+      if (!gui_item_active_p (gui_item))
 	item_info.fState = MFS_GRAYED;
 
       style = (NILP (pgui_item->selected) || NILP (Feval (pgui_item->selected))