X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=pager.c;h=ea3ec2b2fc04b24063efd9d62bba26dad78ea20d;hp=2a8d836bc05f07da77e1507c1bb3c84eb1e7cbcc;hb=2c56b665394c80195b976537e608b690947fcb14;hpb=03fe827a7d4a7ad79ac235654414aa339a9a2c9a diff --git a/pager.c b/pager.c index 2a8d836..ea3ec2b 100644 --- a/pager.c +++ b/pager.c @@ -16,6 +16,7 @@ #endif #include +#include #include #include #include @@ -27,7 +28,6 @@ #include #include #include -#include #include #include @@ -35,12 +35,13 @@ #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" @@ -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;