summaryrefslogtreecommitdiff
path: root/src/message.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2015-05-04 17:28:22 +0200
committerBram Moolenaar <Bram@vim.org>2015-05-04 17:28:22 +0200
commit73284b973a013692dd1055cf210f3138a7f3c497 (patch)
treee9051bf75f584a9fc43cc6839fc9513dfc7cd959 /src/message.c
parentd59c099120919d2d77b431308e390f86c594c825 (diff)
downloadvim-git-73284b973a013692dd1055cf210f3138a7f3c497.tar.gz
patch 7.4.722v7.4.722
Problem: 0x202f is not recognized as a non-breaking space character. Solution: Add 0x202f to the list. (Christian Brabandt)
Diffstat (limited to 'src/message.c')
-rw-r--r--src/message.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/message.c b/src/message.c
index b046ac95e..2ab0a831d 100644
--- a/src/message.c
+++ b/src/message.c
@@ -1697,7 +1697,9 @@ msg_prt_line(s, list)
else if (has_mbyte && (l = (*mb_ptr2len)(s)) > 1)
{
col += (*mb_ptr2cells)(s);
- if (lcs_nbsp != NUL && list && mb_ptr2char(s) == 160)
+ if (lcs_nbsp != NUL && list
+ && (mb_ptr2char(s) == 160
+ || mb_ptr2char(s) == 0x202f))
{
mb_char2bytes(lcs_nbsp, buf);
buf[(*mb_ptr2len)(buf)] = NUL;