From e4eda3bc7157932b0bf380fd3fdc1ba8f4438b60 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 21 Nov 2015 16:28:50 +0100 Subject: patch 7.4.933 Problem: Crash when using longest completion match. Solution: Fix array index. --- src/ex_getln.c | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/ex_getln.c b/src/ex_getln.c index 33d612bfa..0aeb4b8c8 100644 --- a/src/ex_getln.c +++ b/src/ex_getln.c @@ -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 diff --git a/src/version.c b/src/version.c index 30efcab42..f43cad884 100644 --- a/src/version.c +++ b/src/version.c @@ -741,6 +741,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 933, /**/ 932, /**/ -- cgit v1.2.3