1
0
forked from aniani/vim

updated for version 7.1-151

This commit is contained in:
Bram Moolenaar
2007-11-08 12:04:26 +00:00
parent cdfd3e424a
commit e40e57c514
2 changed files with 4 additions and 2 deletions

View File

@@ -2111,7 +2111,7 @@ ins_compl_add_infercase(str, len, icase, fname, dir, flags)
int has_lower = FALSE;
int was_letter = FALSE;
if (p_ic && curbuf->b_p_inf)
if (p_ic && curbuf->b_p_inf && len > 0)
{
/* Infer case of completed part. */
@@ -2225,7 +2225,7 @@ ins_compl_add_infercase(str, len, icase, fname, dir, flags)
wca[i] = MB_TOUPPER(wca[i]);
}
/*
/*
* Generate encoding specific output from wide character array.
* Multi-byte characters can occupy up to five bytes more than
* ASCII characters, and we also need one byte for NUL, so stay

View File

@@ -666,6 +666,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
151,
/**/
150,
/**/