X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=pager.c;h=a3ee8c6e2ac1c6830d4dff858539eb88ff271f5c;hp=6b99c6e74e571810be8baefa13522834927d1d8d;hb=fdb93a08e305b8755260144807e4d45106a9cb9f;hpb=711f787502b6a1a1c150b948a5ed9156c8ef9ba1 diff --git a/pager.c b/pager.c index 6b99c6e..a3ee8c6 100644 --- a/pager.c +++ b/pager.c @@ -28,7 +28,6 @@ #include #include #include -#include #include #include @@ -944,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 */ ; } @@ -1003,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; @@ -1096,7 +1093,7 @@ static int format_line (struct line_t **lineInfo, int n, unsigned char *buf, break; ++col; if (pa) - addch (replacement_char ()); + addch (CharsetReplacement); } } *pspace = space;