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:
@@ -3704,7 +3704,7 @@ ExpandOne(xp, str, orig, options, mode)
|
||||
}
|
||||
else
|
||||
#endif
|
||||
c0 = xp->xp_files[i][len];
|
||||
c0 = xp->xp_files[0][len];
|
||||
for (i = 1; i < xp->xp_numfiles; ++i)
|
||||
{
|
||||
#ifdef FEAT_MBYTE
|
||||
|
@@ -741,6 +741,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
933,
|
||||
/**/
|
||||
932,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user