diff options
Diffstat (limited to 'src/terminal.c')
-rw-r--r-- | src/terminal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/terminal.c b/src/terminal.c index d030f6d70..9fb7fb97c 100644 --- a/src/terminal.c +++ b/src/terminal.c @@ -3842,7 +3842,7 @@ term_get_buf(typval_T *argvars, char *where) (void)tv_get_number(&argvars[0]); /* issue errmsg if type error */ ++emsg_off; - buf = get_buf_tv(&argvars[0], FALSE); + buf = tv_get_buf(&argvars[0], FALSE); --emsg_off; if (buf == NULL || buf->b_term == NULL) { |