This commit is contained in:
Justin M. Keyes
2018-02-11 19:02:57 +01:00
parent 22173a64dd
commit f26a4d484b
5 changed files with 12 additions and 15 deletions

View File

@@ -1056,8 +1056,7 @@ static void command_line_next_incsearch(CommandLineState *s, bool next_match)
// put back on the match
s->search_start = t;
(void)decl(&s->search_start);
}
else if (next_match && s->firstc == '?') {
} else if (next_match && s->firstc == '?') {
// move just after the current match, so that
// when nv_search finishes the cursor will be
// put back on the match