mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.2.4394: UTF8 select mode test fails on MS-Windows
Problem: UTF8 select mode test fails on MS-Windows. Solution: Revert the #ifdef change.
This commit is contained in:
@@ -3671,9 +3671,7 @@ fix_input_buffer(char_u *buf, int len)
|
|||||||
p += 2;
|
p += 2;
|
||||||
i -= 2;
|
i -= 2;
|
||||||
}
|
}
|
||||||
# ifndef MSWIN
|
// When the GUI is not used CSI needs to be escaped.
|
||||||
// When not on MS-Windows and the GUI is not used CSI needs to be
|
|
||||||
// escaped.
|
|
||||||
else if (!gui.in_use && p[0] == CSI)
|
else if (!gui.in_use && p[0] == CSI)
|
||||||
{
|
{
|
||||||
mch_memmove(p + 3, p + 1, (size_t)i);
|
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;
|
*p = (int)KE_CSI;
|
||||||
len += 2;
|
len += 2;
|
||||||
}
|
}
|
||||||
# endif
|
|
||||||
else
|
else
|
||||||
#endif
|
#endif
|
||||||
if (p[0] == NUL || (p[0] == K_SPECIAL
|
if (p[0] == NUL || (p[0] == K_SPECIAL
|
||||||
|
@@ -750,6 +750,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
4394,
|
||||||
/**/
|
/**/
|
||||||
4393,
|
4393,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user