mirror of
https://github.com/neovim/neovim.git
synced 2025-09-25 04:28:33 +00:00
vim-patch:7.4.933
Problem: Crash when using longest completion match.
Solution: Fix array index.
e4eda3bc71
This commit is contained in:
@@ -2969,7 +2969,7 @@ ExpandOne (
|
||||
mb_len = (* mb_ptr2len)(&xp->xp_files[0][len]);
|
||||
c0 = (* mb_ptr2char)(&xp->xp_files[0][len]);
|
||||
} else {
|
||||
c0 = xp->xp_files[i][len];
|
||||
c0 = xp->xp_files[0][len];
|
||||
}
|
||||
for (i = 1; i < xp->xp_numfiles; ++i) {
|
||||
if (has_mbyte) {
|
||||
|
@@ -355,7 +355,7 @@ static int included_patches[] = {
|
||||
// 936,
|
||||
// 935,
|
||||
// 934 NA
|
||||
// 933,
|
||||
933,
|
||||
932,
|
||||
// 931 NA
|
||||
// 930 NA
|
||||
|
Reference in New Issue
Block a user