Skip to content

Commit 78f1705

Browse files
committed
updated for version 7.3.246
Problem: Repeating "f4" in "4444" skips one 4. Solution: Check the t_cmd flag. (Christian Brabandt)
1 parent f752a12 commit 78f1705

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/search.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1585,7 +1585,7 @@ searchc(cap, t_cmd)
15851585
/* Force a move of at least one char, so ";" and "," will move the
15861586
* cursor, even if the cursor is right in front of char we are looking
15871587
* at. */
1588-
if (vim_strchr(p_cpo, CPO_SCOLON) == NULL && count == 1)
1588+
if (vim_strchr(p_cpo, CPO_SCOLON) == NULL && count == 1 && t_cmd)
15891589
stop = FALSE;
15901590
}
15911591

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -709,6 +709,8 @@ static char *(features[]) =
709709

710710
static int included_patches[] =
711711
{ /* Add new patch number below this line */
712+
/**/
713+
246,
712714
/**/
713715
245,
714716
/**/

0 commit comments

Comments
 (0)