mirror of
https://github.com/vim/vim.git
synced 2025-10-07 05:54:16 -04:00
patch 7.4.1140
Problem: Recognizing <sid> does not work when the language is Turkish. (Christian Brabandt) Solution: Use MB_STNICMP() instead of STNICMP().
This commit is contained in:
@@ -23628,8 +23628,10 @@ theend:
|
|||||||
eval_fname_script(p)
|
eval_fname_script(p)
|
||||||
char_u *p;
|
char_u *p;
|
||||||
{
|
{
|
||||||
if (p[0] == '<' && (STRNICMP(p + 1, "SID>", 4) == 0
|
/* Use MB_STRICMP() because in Turkish comparing the "I" may not work with
|
||||||
|| STRNICMP(p + 1, "SNR>", 4) == 0))
|
* the standard library function. */
|
||||||
|
if (p[0] == '<' && (MB_STRNICMP(p + 1, "SID>", 4) == 0
|
||||||
|
|| MB_STRNICMP(p + 1, "SNR>", 4) == 0))
|
||||||
return 5;
|
return 5;
|
||||||
if (p[0] == 's' && p[1] == ':')
|
if (p[0] == 's' && p[1] == ':')
|
||||||
return 2;
|
return 2;
|
||||||
|
@@ -741,6 +741,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 */
|
||||||
|
/**/
|
||||||
|
1140,
|
||||||
/**/
|
/**/
|
||||||
1139,
|
1139,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user