aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2019-06-09 16:25:10 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2019-06-09 16:25:10 -0400
commit84ba37fbcbb420b27c9e3fcd8db79d4857037a82 (patch)
tree536232341311af5853df7b42482deec3b57c1d79 /src
parentaecbbb0b11168a10e5e11e530ef0b10e3aed8a4f (diff)
downloadrneovim-84ba37fbcbb420b27c9e3fcd8db79d4857037a82.tar.gz
rneovim-84ba37fbcbb420b27c9e3fcd8db79d4857037a82.tar.bz2
rneovim-84ba37fbcbb420b27c9e3fcd8db79d4857037a82.zip
lint
Diffstat (limited to 'src')
-rw-r--r--src/nvim/misc1.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/nvim/misc1.c b/src/nvim/misc1.c
index 6da2a8f786..4e47311dda 100644
--- a/src/nvim/misc1.c
+++ b/src/nvim/misc1.c
@@ -2512,11 +2512,12 @@ int prompt_for_number(int *mouse_used)
if (msg_row > 0) {
cmdline_row = msg_row - 1;
}
- need_wait_return = FALSE;
- msg_didany = FALSE;
- msg_didout = FALSE;
- } else
+ need_wait_return = false;
+ msg_didany = false;
+ msg_didout = false;
+ } else {
cmdline_row = save_cmdline_row;
+ }
State = save_State;
// May need to restore mouse shape.
setmouse();