]> git.eshelyaron.com Git - emacs.git/commitdiff
(display_menu_bar): Or `mode-line-inverse-video' with the face's
authorMiles Bader <miles@gnu.org>
Wed, 22 Nov 2000 15:34:56 +0000 (15:34 +0000)
committerMiles Bader <miles@gnu.org>
Wed, 22 Nov 2000 15:34:56 +0000 (15:34 +0000)
inverse-video attribute, rather than overriding it.

src/xdisp.c

index c018ebea4753bcca60172ac3c0ef57659f817eea..2eb9933a2f2d24d702f047ee384113cf8b443fd6 100644 (file)
@@ -12327,7 +12327,8 @@ display_menu_bar (w)
     }
 
   /* Make the first line of the menu bar appear in reverse video.  */
-  it.glyph_row->inverse_p = mode_line_inverse_video != 0;
+  if (mode_line_inverse_video)
+    it.glyph_row->inverse_p = 1;
 
   /* Display all items of the menu bar.  */
   items = FRAME_MENU_BAR_ITEMS (it.f);