mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
updated for version 7.0-178
This commit is contained in:
@@ -2294,8 +2294,14 @@ mb_strnicmp(s1, s2, nn)
|
|||||||
}
|
}
|
||||||
/* Check directly first, it's faster. */
|
/* Check directly first, it's faster. */
|
||||||
for (j = 0; j < l; ++j)
|
for (j = 0; j < l; ++j)
|
||||||
|
{
|
||||||
if (s1[i + j] != s2[i + j])
|
if (s1[i + j] != s2[i + j])
|
||||||
break;
|
break;
|
||||||
|
if (s1[i + j] == 0)
|
||||||
|
/* Both stings have the same bytes but are incomplete or
|
||||||
|
* have illegal bytes, accept them as equal. */
|
||||||
|
l = j;
|
||||||
|
}
|
||||||
if (j < l)
|
if (j < l)
|
||||||
{
|
{
|
||||||
/* If one of the two characters is incomplete return -1. */
|
/* If one of the two characters is incomplete return -1. */
|
||||||
|
@@ -666,6 +666,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 */
|
||||||
|
/**/
|
||||||
|
178,
|
||||||
/**/
|
/**/
|
||||||
177,
|
177,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user