From 4b5fca907cbf74bd1ee96af616d87b8935d98913 Mon Sep 17 00:00:00 2001 From: Vincent Lefevre <vincent@vinc17.org> Date: Sat, 30 Jul 2005 04:13:07 +0000 Subject: [PATCH] When using colors, the status line of the index is displayed in a >bright color, even when the prefix "bright" is *not* given in the foreground color. The problem occurs when I have the following additional line: color normal brightwhite black The problem is that BKGDSET's are missing. --- curs_main.c | 2 ++ pager.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/curs_main.c b/curs_main.c index 1d96c8915..c8c4225dc 100644 --- a/curs_main.c +++ b/curs_main.c @@ -563,8 +563,10 @@ int mutt_index_menu (void) menu_status_line (buf, sizeof (buf), menu, NONULL (Status)); CLEARLINE (option (OPTSTATUSONTOP) ? 0 : LINES-2); SETCOLOR (MT_COLOR_STATUS); + BKGDSET (MT_COLOR_STATUS); mutt_paddstr (COLS, buf); SETCOLOR (MT_COLOR_NORMAL); + BKGDSET (MT_COLOR_NORMAL); menu->redraw &= ~REDRAW_STATUS; } diff --git a/pager.c b/pager.c index 6796166f3..c96178b5f 100644 --- a/pager.c +++ b/pager.c @@ -1744,8 +1744,10 @@ mutt_pager (const char *banner, const char *fname, int flags, pager_t *extra) move (indexoffset + (option (OPTSTATUSONTOP) ? 0 : (indexlen - 1)), 0); SETCOLOR (MT_COLOR_STATUS); + BKGDSET (MT_COLOR_STATUS); mutt_paddstr (COLS, buffer); SETCOLOR (MT_COLOR_NORMAL); + BKGDSET (MT_COLOR_NORMAL); } redraw = 0; -- 2.40.0