X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=menu.c;h=2243919c2ee6b85a9d66ec49042e1ac9e734b3a5;hp=5e46eed34aa5583681428899b28ba0e39c28b69c;hb=0c528da3f6976cfef3d729d9cd66bd8f265a4060;hpb=0d5798fa40d68a2cff1193196b9c4ddd67da5063 diff --git a/menu.c b/menu.c index 5e46eed..2243919 100644 --- 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);