From 52377a47b0f120f77008cfc73384617870cf4896 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Wed, 6 Oct 1999 23:05:32 +0000 Subject: [PATCH] (display_menu_bar): Use MENU_FACE_ID instead of MODE_LINE_FACE_ID. --- src/xdisp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/xdisp.c b/src/xdisp.c index e71ffaac152..b940db57013 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -11329,7 +11329,7 @@ display_menu_bar (w) #ifdef USE_X_TOOLKIT xassert (!FRAME_WINDOW_P (f)); - init_iterator (&it, w, -1, -1, f->desired_matrix->rows, MODE_LINE_FACE_ID); + init_iterator (&it, w, -1, -1, f->desired_matrix->rows, MENU_FACE_ID); it.first_visible_x = 0; it.last_visible_x = FRAME_WINDOW_WIDTH (f) * CANON_X_UNIT (f); #else /* not USE_X_TOOLKIT */ @@ -11341,7 +11341,7 @@ display_menu_bar (w) xassert (WINDOWP (f->menu_bar_window)); menu_w = XWINDOW (f->menu_bar_window); init_iterator (&it, menu_w, -1, -1, menu_w->desired_matrix->rows, - MODE_LINE_FACE_ID); + MENU_FACE_ID); it.first_visible_x = 0; it.last_visible_x = FRAME_WINDOW_WIDTH (f) * CANON_X_UNIT (f); } @@ -11350,7 +11350,7 @@ display_menu_bar (w) /* This is a TTY frame, i.e. character hpos/vpos are used as pixel x/y. */ init_iterator (&it, w, -1, -1, f->desired_matrix->rows, - MODE_LINE_FACE_ID); + MENU_FACE_ID); it.first_visible_x = 0; it.last_visible_x = FRAME_WIDTH (f); } -- 2.39.5