X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=pager.c;h=ea3ec2b2fc04b24063efd9d62bba26dad78ea20d;hp=044d2dcbb9fb39517d0c738dc7d5638afdb306ba;hb=2c56b665394c80195b976537e608b690947fcb14;hpb=4a0b020a3048f079979bea43c04f9fe388f9354d diff --git a/pager.c b/pager.c index 044d2dc..ea3ec2b 100644 --- a/pager.c +++ b/pager.c @@ -15,22 +15,33 @@ # include "config.h" #endif +#include +#include +#include +#include +#include +#include +#include +#include + #include #include #include #include +#include #include #include #include #include "mutt.h" +#include "alias.h" #include "keymap.h" #include "sort.h" #include "pager.h" #include "attach.h" #include "recvattach.h" -#include "mbyte.h" +#include "charset.h" #include "sidebar.h" #include "buffy.h" @@ -40,16 +51,6 @@ #include -#include "lib/rx.h" -#include "lib/debug.h" - -#include -#include -#include -#include -#include -#include -#include #define ISHEADER(x) ((x) == MT_COLOR_HEADER || (x) == MT_COLOR_HDEFAULT) @@ -942,7 +943,6 @@ fill_buffer (FILE * f, off_t *last_pos, off_t offset, unsigned char *buf, } else if (*p == '\033' && *(p + 1) == ']' && check_attachment_marker ((char *) p) == 0) { - debug_print (2, ("seen attachment marker.\n")); while (*p++ != '\a') /* skip pseudo-ANSI sequence */ ; } @@ -1001,7 +1001,6 @@ static int format_line (struct line_t **lineInfo, int n, unsigned char *buf, k = mbrtowc (&wc, (char *) buf + ch, cnt - ch, &mbstate); if (k == -2 || k == -1) { - debug_print (1, ("mbrtowc returned %d; errno = %d.\n", k, errno)); if (col + 4 > wrap_cols) break; col += 4;