diff options
author | Bram Moolenaar <Bram@vim.org> | 2011-07-15 13:21:30 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2011-07-15 13:21:30 +0200 |
commit | 19fd09a78fd0959ad60ff03a2324c974e0f5cc44 (patch) | |
tree | 4f146e7d235de501e089863bf62e85c6bb95d2e4 | |
parent | 54ee2b8741e10906393cf85450d69d91edb3f2eb (diff) | |
download | vim-git-19fd09a78fd0959ad60ff03a2324c974e0f5cc44.tar.gz |
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.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 1 deletions
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 @@ -710,6 +710,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 246, +/**/ 245, /**/ 244, |