<<< Date Index >>>     <<< Thread Index >>>

Brightness bug and possible fix



So I'd been running 1.5.10 for years with no apparent problems.  Due
to an issue involving IMAP, I built 1.5.19.  I started noticing
something odd.  I have new mail in brightcyan.  If I would arrow down
the indicator over the new emails, no problem.  If I arrowed up over
them, they would go from brightcyan to cyan.  Arrowing back down over
them would turn them to brightcyan again.  No clue what the problem
was, but I saw in my patches directory a patch from way back when that
would I guess make the text under the indicator never bright.  I
realized why I'd initially installed that, since the boldness under
the indicator was a bit of a shock to me.  So anyway, I applied this
patch and it "fixed" the problem of toggling the brightness when
moving the indicator up and down over them.

For what it's worth, the patch is attached.


-Ken


--- PATCHES~    Tue Nov  6 19:59:33 2001
+++ PATCHES     Tue Nov  6 19:59:42 2001
@@ -1,0 +1 @@
+patch-1.5.1.nr.indicator_not_bright
--- menu.c      Mon Aug 12 11:29:17 2002
+++ 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);
--- menu.c.orig Mon Aug 12 22:22:40 2002
+++ menu.c      Mon Aug 12 22:24:13 2002
@@ -340,6 +340,7 @@
     attrset (menu->color (menu->current));
     ADDCOLOR (MT_COLOR_INDICATOR);
     BKGDSET (MT_COLOR_INDICATOR);
+    attroff(A_BOLD);
     clrtoeol ();
     print_enriched_string (menu->color(menu->current), (unsigned char *) buf, 
0);
     SETCOLOR (MT_COLOR_NORMAL);