summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/xdisp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index c018ebea475..2eb9933a2f2 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -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);