summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-02-15 19:52:56 +0000
committerBram Moolenaar <Bram@vim.org>2022-02-15 19:52:56 +0000
commit9fdde7992ab4c21517f447ca3d651b9ff4a770e8 (patch)
treef66d6c0f8652c361ce557805b234ec252a3f9c40
parent6b43471da4516e8f6c17e5dc2eccbb9d0ba2e0a4 (diff)
patch 8.2.4394: UTF8 select mode test fails on MS-Windowsv8.2.4394
Problem: UTF8 select mode test fails on MS-Windows. Solution: Revert the #ifdef change.
-rw-r--r--src/getchar.c5
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 4 deletions
diff --git a/src/getchar.c b/src/getchar.c
index 104219236d..8513679de8 100644
--- a/src/getchar.c
+++ b/src/getchar.c
@@ -3671,9 +3671,7 @@ fix_input_buffer(char_u *buf, int len)
p += 2;
i -= 2;
}
-# ifndef MSWIN
- // When not on MS-Windows and the GUI is not used CSI needs to be
- // escaped.
+ // When the GUI is not used CSI needs to be escaped.
else if (!gui.in_use && p[0] == CSI)
{
mch_memmove(p + 3, p + 1, (size_t)i);
@@ -3682,7 +3680,6 @@ fix_input_buffer(char_u *buf, int len)
*p = (int)KE_CSI;
len += 2;
}
-# endif
else
#endif
if (p[0] == NUL || (p[0] == K_SPECIAL
diff --git a/src/version.c b/src/version.c
index 4cbc2972a8..3510af8a8f 100644
--- a/src/version.c
+++ b/src/version.c
@@ -751,6 +751,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 4394,
+/**/
4393,
/**/
4392,