From: Bram Moolenaar Date: Fri, 15 Jul 2011 11:21:30 +0000 (+0200) Subject: updated for version 7.3.246 X-Git-Tag: v7.3.246 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=19fd09a78fd0959ad60ff03a2324c974e0f5cc44;p=vim updated for version 7.3.246 Problem: Repeating "f4" in "4444" skips one 4. Solution: Check the t_cmd flag. (Christian Brabandt) --- diff --git a/src/search.c b/src/search.c index 6c9e1dae9..0d0d26d81 100644 --- a/src/search.c +++ b/src/search.c @@ -1585,7 +1585,7 @@ searchc(cap, t_cmd) /* Force a move of at least one char, so ";" and "," will move the * cursor, even if the cursor is right in front of char we are looking * at. */ - if (vim_strchr(p_cpo, CPO_SCOLON) == NULL && count == 1) + if (vim_strchr(p_cpo, CPO_SCOLON) == NULL && count == 1 && t_cmd) stop = FALSE; } diff --git a/src/version.c b/src/version.c index 77d3dc0eb..2f4e229d8 100644 --- a/src/version.c +++ b/src/version.c @@ -709,6 +709,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 246, /**/ 245, /**/