#endif
#include <wchar.h>
+#include <wctype.h>
#include <sys/stat.h>
#include <ctype.h>
#include <unistd.h>
#include <lib-lib/str.h>
#include <lib-lib/macros.h>
#include <lib-lib/mapping.h>
-#include <lib-lib/debug.h>
#include <lib-lib/rx.h>
#include <lib-ui/curses.h>
#include <lib-ui/menu.h>
#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"
}
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 */
;
}
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;
break;
++col;
if (pa)
- addch (replacement_char ());
+ addch (CharsetReplacement);
}
}
*pspace = space;