]> granicus.if.org Git - mutt/commitdiff
Back out the patch for #1697.
authorThomas Roessler <roessler@does-not-exist.org>
Thu, 5 Feb 2004 14:17:25 +0000 (14:17 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Thu, 5 Feb 2004 14:17:25 +0000 (14:17 +0000)
menu.c

diff --git a/menu.c b/menu.c
index 3374796e0dd895c8e7170f4f8d7edba663330707..11d8faa10f4fea5af5bef614d3afb79a57f386ae 100644 (file)
--- a/menu.c
+++ b/menu.c
@@ -38,7 +38,6 @@ static void print_enriched_string (int attr, unsigned char *s, int do_color)
   size_t k;
   size_t n = mutt_strlen ((char *)s);
   mbstate_t mbstate;
-  short f1, f2, b1, b2;
 
   memset (&mbstate, 0, sizeof (mbstate));
   while (*s)
@@ -46,12 +45,7 @@ static void print_enriched_string (int attr, unsigned char *s, int do_color)
     if (*s < M_TREE_MAX)
     {
       if (do_color)
-      {
-       pair_content(PAIR_NUMBER(ColorDefs[MT_COLOR_TREE]), &f1, &b1);
-       pair_content(PAIR_NUMBER(attr), &f2, &b2);
-       if (b1 == b2)
-         SETCOLOR (MT_COLOR_TREE);
-      }
+       SETCOLOR (MT_COLOR_TREE);
       while (*s && *s < M_TREE_MAX)
       {
        switch (*s)