aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/nvim/ex_getln.c2
-rw-r--r--src/nvim/version.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/ex_getln.c b/src/nvim/ex_getln.c
index 692a8893ae..e396a179a1 100644
--- a/src/nvim/ex_getln.c
+++ b/src/nvim/ex_getln.c
@@ -1076,11 +1076,11 @@ static void command_line_next_incsearch(CommandLineState *s, bool next_match)
s->old_topfill = curwin->w_topfill;
s->old_botline = curwin->w_botline;
update_screen(NOT_VALID);
- restore_last_search_pattern();
redrawcmdline();
} else {
vim_beep(BO_ERROR);
}
+ restore_last_search_pattern();
return;
}
diff --git a/src/nvim/version.c b/src/nvim/version.c
index b6a7150f73..370c8ab5d3 100644
--- a/src/nvim/version.c
+++ b/src/nvim/version.c
@@ -101,7 +101,7 @@ static const int included_patches[] = {
// 1399,
// 1398,
// 1397,
- // 1396,
+ 1396,
// 1395,
// 1394,
// 1393,