From 19fd09a78fd0959ad60ff03a2324c974e0f5cc44 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Fri, 15 Jul 2011 13:21:30 +0200 Subject: [PATCH] updated for version 7.3.246 Problem: Repeating "f4" in "4444" skips one 4. Solution: Check the t_cmd flag. (Christian Brabandt) --- src/search.c | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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, /**/ -- 2.40.0