X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=pager.c;h=f6ec60e38f89bc6482191cbac41744ba9075dc9e;hp=24fe18a028567c31946f6e18c82fb6af245a18ee;hb=dc726add2e8fe52be1f6859ea7cbe4651498eeb8;hpb=f667a765e089dbfbc2d7634e238ff2a4b3353068 diff --git a/pager.c b/pager.c index 24fe18a..f6ec60e 100644 --- a/pager.c +++ b/pager.c @@ -14,9 +14,8 @@ #include #include -#include #include -#include +#include #include #include "mutt.h" @@ -216,7 +215,7 @@ resolve_color (struct line_t *lineInfo, int n, int cnt, int flags, if (special || a->attr) { if ((a->attr & ANSI_COLOR)) { if (a->pair == -1) - a->pair = mutt_alloc_color (a->fg, a->bg); + a->pair = madtty_color_pair(a->fg, a->bg); color = a->pair; if (a->attr & ANSI_BOLD) color |= A_BOLD;