X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=pager.c;h=3bed8200f1c11b32471a9298e8ea944249f899f0;hb=d8c2844a5a8b0fcf09158dcdd452f6e43e29b5db;hp=24fe18a028567c31946f6e18c82fb6af245a18ee;hpb=f667a765e089dbfbc2d7634e238ff2a4b3353068;p=apps%2Fmadmutt.git diff --git a/pager.c b/pager.c index 24fe18a..3bed820 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; @@ -2203,10 +2202,6 @@ mutt_pager (const char *banner, const char *fname, int flags, pager_t * extra) } break; - case OP_VERSION: - mutt_version (); - break; - case OP_BUFFY_LIST: if (option (OPTFORCEBUFFYCHECK)) buffy_check (1);