diff --git a/src/search.c b/src/search.c index ff9eb6abb5..9f6c997a5d 100644 --- a/src/search.c +++ b/src/search.c @@ -2795,7 +2795,7 @@ fwd_word(count, bigword, eol) i = inc_cursor(); if (i == -1 || (i >= 1 && last_line)) /* started at last char in file */ return FAIL; - if (i == 1 && eol && count == 0) /* started at last char in line */ + if (i >= 1 && eol && count == 0) /* started at last char in line */ return OK; /* diff --git a/src/version.c b/src/version.c index 3a14e6402a..0e02631c56 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 */ +/**/ + 23, /**/ 22, /**/