diff --git a/src/search.c b/src/search.c index 9f6c997a5d..3836db7162 100644 --- a/src/search.c +++ b/src/search.c @@ -2124,6 +2124,9 @@ findmatchlimit(oap, initc, flags, maxtravel) else if (!backwards) inquote = TRUE; } + + /* ml_get() only keeps one line, need to get linep again */ + linep = ml_get(pos.lnum); } } } diff --git a/src/version.c b/src/version.c index 0e02631c56..4a3f666eb4 100644 --- a/src/version.c +++ b/src/version.c @@ -666,6 +666,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 24, /**/ 23, /**/