diff options
author | Bram Moolenaar <Bram@vim.org> | 2015-05-04 17:28:22 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2015-05-04 17:28:22 +0200 |
commit | 73284b973a013692dd1055cf210f3138a7f3c497 (patch) | |
tree | e9051bf75f584a9fc43cc6839fc9513dfc7cd959 /src/message.c | |
parent | d59c099120919d2d77b431308e390f86c594c825 (diff) | |
download | vim-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.c | 4 |
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; |