* Rocco Rutte <[EMAIL PROTECTED]> [2002-07-17 14:39 +0200]:
> I remember to have a read about about a patch making the
> indicator bar always exactly the same color as specified.
> The problem is that if the color of the message in the index
> is ``bright...'', the foreground color of the bar gets bold,
> too. But I want it to be ``black'' instead of ``brightblack''
> on some messages. Hints?
Does the attached patch help?
Nicolas
diff -u -r mutt-1.5.1.ori/menu.c mutt-1.5.1/menu.c
--- mutt-1.5.1.ori/menu.c Mon Aug 12 11:29:17 2002
+++ mutt-1.5.1/menu.c Mon Aug 12 12:16:41 2002
@@ -237,6 +237,7 @@
{
ADDCOLOR (MT_COLOR_INDICATOR);
BKGDSET (MT_COLOR_INDICATOR);
+ attroff(A_BOLD);
}
CLEARLINE (i - menu->top + menu->offset);
@@ -303,6 +304,7 @@
attrset (menu->color (menu->current));
ADDCOLOR (MT_COLOR_INDICATOR);
BKGDSET (MT_COLOR_INDICATOR);
+ attroff(A_BOLD);
CLEARLINE (menu->current - menu->top + menu->offset);
print_enriched_string (menu->color(menu->current), (unsigned char *) buf, 0);
SETCOLOR (MT_COLOR_NORMAL);