mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 06:28:35 +00:00
eval: Fix inputlist()
This commit is contained in:
@@ -11254,7 +11254,7 @@ static void f_inputlist(typval_T *argvars, typval_T *rettv, FunPtr fptr)
|
||||
int selected;
|
||||
int mouse_used;
|
||||
|
||||
if (argvars[0].v_type != VAR_LIST || argvars[0].vval.v_list == NULL) {
|
||||
if (argvars[0].v_type != VAR_LIST) {
|
||||
EMSG2(_(e_listarg), "inputlist()");
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user