# HG changeset patch # User Christian Brabandt # Date 1448119805 -3600 # Node ID 99476f1aaacd1cfb84ca7abb6bb7c382753db0e8 # Parent 56c48d316ed0f6ddae86305ffa2342159301da72 commit https://github.com/vim/vim/commit/e4eda3bc7157932b0bf380fd3fdc1ba8f4438b60 Author: Bram Moolenaar Date: Sat Nov 21 16:28:50 2015 +0100 patch 7.4.933 Problem: Crash when using longest completion match. Solution: Fix array index. diff --git a/src/ex_getln.c b/src/ex_getln.c --- 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 --- a/src/version.c +++ b/src/version.c @@ -742,6 +742,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 933, +/**/ 932, /**/ 931,