1
0
forked from aniani/vim

updated for version 7.3.246

Problem:    Repeating "f4" in "4444" skips one 4.
Solution:   Check the t_cmd flag. (Christian Brabandt)
This commit is contained in:
Bram Moolenaar 2011-07-15 13:21:30 +02:00
parent 54ee2b8741
commit 19fd09a78f
2 changed files with 3 additions and 1 deletions

View File

@ -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;
}

View File

@ -709,6 +709,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
246,
/**/
245,
/**/