X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=lib-ui%2Fcolor.c;h=ca0ab98a49a0c0efa79c5d313a1c04ffe990f49b;hb=2a2f2f9a5bad73c883b7f9c9b4166d932b6aaf37;hp=c573520e050ef910fffa159b91971378b1289b0b;hpb=dbb9a1e16d03a2d4664d6dc6a30c721b889d4982;p=apps%2Fmadmutt.git diff --git a/lib-ui/color.c b/lib-ui/color.c index c573520..ca0ab98 100644 --- a/lib-ui/color.c +++ b/lib-ui/color.c @@ -11,6 +11,10 @@ # include "config.h" #endif +#include +#include +#include + #include #include #include @@ -18,16 +22,10 @@ #include #include -#include +#include "curses.h" #include "mutt.h" -#include "lib/debug.h" - -#include -#include -#include - /* globals */ int *ColorQuote; int ColorQuoteUsed; @@ -250,8 +248,6 @@ int mutt_alloc_color (int fg, int bg) init_pair (i, fg, bg); - debug_print (1, ("Color pairs used so far: %d\n", UserColors)); - return (COLOR_PAIR (p->index)); } @@ -267,7 +263,6 @@ void mutt_free_color (int fg, int bg) return; UserColors--; - debug_print (1, ("Color pairs used so far: %d\n", UserColors)); if (p == ColorList) { ColorList = ColorList->next; @@ -419,7 +414,6 @@ _mutt_parse_uncolor (BUFFER * buf, BUFFER * s, unsigned long data __attribute__ if (!m_strcmp(buf->data, tmp->pattern)) { if (!do_cache) do_cache = 1; - debug_print (1, ("Freeing pattern \"%s\" from ColorIndexList\n", tmp->pattern)); if (last) last->next = tmp->next; else