diff options
Diffstat (limited to 'src/nvim/eval.c')
-rw-r--r-- | src/nvim/eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/eval.c b/src/nvim/eval.c index 512555eac1..508bdac46d 100644 --- a/src/nvim/eval.c +++ b/src/nvim/eval.c @@ -7703,7 +7703,7 @@ static void f_bufnr(typval_T *argvars, typval_T *rettv, FunPtr fptr) && !error && (name = get_tv_string_chk(&argvars[0])) != NULL && !error) - buf = buflist_new(name, NULL, (linenr_T)1, 0); + buf = buflist_new(name, NULL, (linenr_T)1, 0, 0); if (buf != NULL) rettv->vval.v_number = buf->b_fnum; |