summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2011-07-15 13:21:30 +0200
committerBram Moolenaar <Bram@vim.org>2011-07-15 13:21:30 +0200
commit19fd09a78fd0959ad60ff03a2324c974e0f5cc44 (patch)
tree4f146e7d235de501e089863bf62e85c6bb95d2e4
parent54ee2b8741e10906393cf85450d69d91edb3f2eb (diff)
updated for version 7.3.246v7.3.246
Problem: Repeating "f4" in "4444" skips one 4. Solution: Check the t_cmd flag. (Christian Brabandt)
-rw-r--r--src/search.c2
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/search.c b/src/search.c
index 6c9e1dae91..0d0d26d810 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 77d3dc0eb7..2f4e229d83 100644
--- a/src/version.c
+++ b/src/version.c
@@ -710,6 +710,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 246,
+/**/
245,
/**/
244,