0
0
mirror of https://github.com/vim/vim.git synced 2025-09-26 04:04:07 -04:00

patch 7.4.933

Problem:    Crash when using longest completion match.
Solution:   Fix array index.
This commit is contained in:
Bram Moolenaar
2015-11-21 16:28:50 +01:00
parent 8f08dab18d
commit e4eda3bc71
2 changed files with 3 additions and 1 deletions

View File

@@ -3704,7 +3704,7 @@ ExpandOne(xp, str, orig, options, mode)
} }
else else
#endif #endif
c0 = xp->xp_files[i][len]; c0 = xp->xp_files[0][len];
for (i = 1; i < xp->xp_numfiles; ++i) for (i = 1; i < xp->xp_numfiles; ++i)
{ {
#ifdef FEAT_MBYTE #ifdef FEAT_MBYTE

View File

@@ -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 */
/**/
933,
/**/ /**/
932, 932,
/**/ /**/