mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -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
|
||||
|
Reference in New Issue
Block a user