aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_getln.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2018-02-11 19:02:57 +0100
committerJustin M. Keyes <justinkz@gmail.com>2018-02-11 19:03:29 +0100
commitf26a4d484b486019c90fc55af5e74e33de374bc4 (patch)
tree8cce092c29f33ae109dcf61e12e822d84aa014c7 /src/nvim/ex_getln.c
parent22173a64dd931871709337e4c4abc056fb36c869 (diff)
downloadrneovim-f26a4d484b486019c90fc55af5e74e33de374bc4.tar.gz
rneovim-f26a4d484b486019c90fc55af5e74e33de374bc4.tar.bz2
rneovim-f26a4d484b486019c90fc55af5e74e33de374bc4.zip
lint
Diffstat (limited to 'src/nvim/ex_getln.c')
-rw-r--r--src/nvim/ex_getln.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nvim/ex_getln.c b/src/nvim/ex_getln.c
index 6b13a57980..07aab3307a 100644
--- a/src/nvim/ex_getln.c
+++ b/src/nvim/ex_getln.c
@@ -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