patch 8.2.4394: UTF8 select mode test fails on MS-Windows v8.2.4394
authorBram Moolenaar <Bram@vim.org>
Tue, 15 Feb 2022 19:52:56 +0000 (19:52 +0000)
committerBram Moolenaar <Bram@vim.org>
Tue, 15 Feb 2022 19:52:56 +0000 (19:52 +0000)
Problem:    UTF8 select mode test fails on MS-Windows.
Solution:   Revert the #ifdef change.

src/getchar.c
src/version.c

index 104219236d93595b0ea44d712297715305a78676..8513679de810b087ff48d1931845560f14f1b3e9 100644 (file)
@@ -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
index 4cbc2972a84088b466e6d9f53713f5e7c61e33e4..3510af8a8f014fe6b86d6bd7248150c03208ff6a 100644 (file)
@@ -750,6 +750,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    4394,
 /**/
     4393,
 /**/