From 7a085393839c909275f817bdf0b99d312ff3f459 Mon Sep 17 00:00:00 2001 From: Brendan Cully Date: Sun, 28 Jun 2009 20:49:20 -0700 Subject: [PATCH] Allow tabs in index subject. Closes #3270. --- configure.ac | 2 +- curs_lib.c | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 9ba692f33..ce8a24107 100644 --- a/configure.ac +++ b/configure.ac @@ -1215,7 +1215,7 @@ if test "$mutt_cv_wint_t" = no; then fi AC_CHECK_HEADERS(wctype.h) -AC_CHECK_FUNCS(iswalnum iswalpha iswcntrl iswdigit) +AC_CHECK_FUNCS(iswalnum iswalpha iswblank iswcntrl iswdigit) AC_CHECK_FUNCS(iswgraph iswlower iswprint iswpunct iswspace iswupper) AC_CHECK_FUNCS(iswxdigit towupper towlower) diff --git a/curs_lib.c b/curs_lib.c index eaf26bc25..0308086c6 100644 --- a/curs_lib.c +++ b/curs_lib.c @@ -725,7 +725,11 @@ void mutt_format_string (char *dest, size_t destlen, w = 1; /* hack */ else { - if (!IsWPrint (wc)) + if (!IsWPrint (wc) +#ifdef HAVE_ISWBLANK + && !iswblank (wc) +#endif + ) wc = '?'; w = wcwidth (wc); } -- 2.40.0