mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 03:18:16 +00:00
ex_getln.c: Fix PVS/V519: variable assigned twice
This commit is contained in:
@@ -626,6 +626,7 @@ static int command_line_execute(VimState *state, int key)
|
|||||||
// Entered command line, move it up
|
// Entered command line, move it up
|
||||||
cmdline_row--;
|
cmdline_row--;
|
||||||
redrawcmd();
|
redrawcmd();
|
||||||
|
wild_menu_showing = 0;
|
||||||
} else if (save_p_ls != -1) {
|
} else if (save_p_ls != -1) {
|
||||||
// restore 'laststatus' and 'winminheight'
|
// restore 'laststatus' and 'winminheight'
|
||||||
p_ls = save_p_ls;
|
p_ls = save_p_ls;
|
||||||
@@ -636,13 +637,13 @@ static int command_line_execute(VimState *state, int key)
|
|||||||
restore_cmdline(&s->save_ccline);
|
restore_cmdline(&s->save_ccline);
|
||||||
redrawcmd();
|
redrawcmd();
|
||||||
save_p_ls = -1;
|
save_p_ls = -1;
|
||||||
|
wild_menu_showing = 0;
|
||||||
} else {
|
} else {
|
||||||
win_redraw_last_status(topframe);
|
win_redraw_last_status(topframe);
|
||||||
wild_menu_showing = 0; // must be before redraw_statuslines #8385
|
wild_menu_showing = 0; // must be before redraw_statuslines #8385
|
||||||
redraw_statuslines();
|
redraw_statuslines();
|
||||||
}
|
}
|
||||||
KeyTyped = skt;
|
KeyTyped = skt;
|
||||||
wild_menu_showing = 0;
|
|
||||||
if (ccline.input_fn) {
|
if (ccline.input_fn) {
|
||||||
RedrawingDisabled = old_RedrawingDisabled;
|
RedrawingDisabled = old_RedrawingDisabled;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user