0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 8.1.0685: get_buf_tv() is named inconsistently

Problem:    get_buf_tv() is named inconsistently.
Solution:   Rename it to tv_get_buf(). (Yegappan Lakshmanan, closes #3759)
This commit is contained in:
Bram Moolenaar
2019-01-03 22:19:27 +01:00
parent 4b7214ea78
commit f2d79fa92d
5 changed files with 25 additions and 23 deletions

View File

@@ -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)
{