X-Git-Url: http://git.madism.org/?a=blobdiff_plain;ds=sidebyside;f=pager.c;h=59db45fdb5e8c9148b13c8dee9ae8301281db06c;hb=00f34116b32751764d42f81159c292d850c74bac;hp=24fe18a028567c31946f6e18c82fb6af245a18ee;hpb=f667a765e089dbfbc2d7634e238ff2a4b3353068;p=apps%2Fmadmutt.git diff --git a/pager.c b/pager.c index 24fe18a..59db45f 100644 --- a/pager.c +++ b/pager.c @@ -17,6 +17,7 @@ #include #include #include +#include #include #include "mutt.h" @@ -216,7 +217,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;