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:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user