mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-12 07:27:57 +00:00
bb040dde3e
Move mail/mutt-lite to mail/mutt14-lite Move mail/mutt-devel to mail/mutt Moving mail/mutt-devel-lite to mail/mutt-lite will follow next to avoid breaking the cvs exporter PR: ports/169546 Suggested by: obrien Approved by: maintainer
23 lines
574 B
Plaintext
23 lines
574 B
Plaintext
diff --git a/pager.c b/pager.c
|
|
--- pager.c
|
|
+++ pager.c
|
|
@@ -1187,10 +1187,17 @@
|
|
last_special = special;
|
|
}
|
|
|
|
- if (IsWPrint (wc))
|
|
+ if (IsWPrint (wc) || (Charset_is_utf8 && wc == 0x00A0))
|
|
{
|
|
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;
|