Andreas Krennmair:
[apps/madmutt.git] / menu.c
diff --git a/menu.c b/menu.c
index 5e46eed..2243919 100644 (file)
--- a/menu.c
+++ b/menu.c
@@ -37,19 +37,13 @@ static void print_enriched_string (int attr, unsigned char *s, int do_color)
 {
   size_t k;
   size_t n = mutt_strlen ((char *)s);
-  short f1, f2, b1, b2;
 
   while (*s)
   {
     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)
@@ -697,7 +691,7 @@ void mutt_menuDestroy (MUTTMENU **p)
     for (i=0; i < (*p)->max; i++)
       FREE (&(*p)->dialog[i]);
 
-    FREE ((*p)->dialog);
+    FREE ((*p)->dialog);
   }
 
   FREE (p);