commit | 29d2f45c8855fd98897c5db92d896c161e95d0f1 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Fri Dec 04 19:42:52 2020 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Fri Dec 04 19:42:52 2020 +0100 |
tree | 87c23be9cda892daedafbdfe8edcdb04d07e5426 | |
parent | c5e6a7179d7dee4315b412b56e172bb1ff092d3e [diff] [blame] |
patch 8.2.2091: MS-Windows: build warnings Problem: MS-Windows: build warnings. Solution: Add a #pragma to suppress the deprecation warning. (Ken Takata) Avoid using a non-ASCII character. (closes #7421)
diff --git a/src/message.c b/src/message.c index 3f6d56e..43e7e5e 100644 --- a/src/message.c +++ b/src/message.c
@@ -1861,7 +1861,7 @@ col += (*mb_ptr2cells)(s); if (l >= MB_MAXBYTES) { - STRCPY(buf, "¿"); + STRCPY(buf, "?"); } else if (lcs_nbsp != NUL && list && (mb_ptr2char(s) == 160