aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_getln.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/ex_getln.c')
-rw-r--r--src/nvim/ex_getln.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/ex_getln.c b/src/nvim/ex_getln.c
index 62f802fb8f..45fff4f9d7 100644
--- a/src/nvim/ex_getln.c
+++ b/src/nvim/ex_getln.c
@@ -1489,8 +1489,9 @@ static int command_line_handle_key(CommandLineState *s)
} else {
vim_beep(BO_ERROR);
}
+ return command_line_not_changed(s);
}
- return command_line_not_changed(s);
+ break;
case Ctrl_V:
case Ctrl_Q: