]> granicus.if.org Git - mutt/commitdiff
Backed out changeset 11399121296a
authorMichael Elkins <me@sigpipe.org>
Mon, 11 Oct 2010 14:56:47 +0000 (07:56 -0700)
committerMichael Elkins <me@sigpipe.org>
Mon, 11 Oct 2010 14:56:47 +0000 (07:56 -0700)
pager.c

diff --git a/pager.c b/pager.c
index a68a93b1fb245c92abdbaf4275d74bf5b63999ca..e19174cd02c558e7ed8b804b681e02537353f2ae 100644 (file)
--- a/pager.c
+++ b/pager.c
@@ -1187,17 +1187,10 @@ static int format_line (struct line_t **lineInfo, int n, unsigned char *buf,
       last_special = special;
     }
 
-    if (IsWPrint (wc) || (Charset_is_utf8 && wc == 0x00A0))
+    if (IsWPrint (wc))
     {
       if (wc == ' ')
        space = ch;
-      else if (Charset_is_utf8 && wc == 0x00A0)
-      {
-       /* Convert non-breaking space to normal space. The local variable
-        * `space' is not set here so that the caller of this function won't
-        * attempt to wrap at this character. */
-       wc = ' ';
-      }
       t = wcwidth (wc);
       if (col + t > wrap_cols)
        break;