]> granicus.if.org Git - neomutt/commitdiff
Allow tabs in index subject. Closes #3270.
authorBrendan Cully <brendan@kublai.com>
Mon, 29 Jun 2009 03:49:20 +0000 (20:49 -0700)
committerBrendan Cully <brendan@kublai.com>
Mon, 29 Jun 2009 03:49:20 +0000 (20:49 -0700)
configure.ac
curs_lib.c

index 9ba692f33653c2d9225a24dbe375ec7ab9cd01c5..ce8a24107f95199ef77ef49d09becc30e7a40e02 100644 (file)
@@ -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)
 
index eaf26bc258997b2c7765094a973cccfbb540eccc..0308086c65b976d6b0bce45995e063f48d9728e8 100644 (file)
@@ -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);
     }