diff src/terminal.c @ 15355:73b153ed5af8 v8.1.0685

patch 8.1.0685: get_buf_tv() is named inconsistently commit https://github.com/vim/vim/commit/f2d79fa92d0ed90732f52dd88da4ad66c2c5ce13 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jan 3 22:19:27 2019 +0100 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 https://github.com/vim/vim/issues/3759)
author Bram Moolenaar <Bram@vim.org>
date Thu, 03 Jan 2019 22:30:06 +0100
parents 19272aa12962
children 55ccc2d353bd
line wrap: on
line diff
--- a/src/terminal.c
+++ b/src/terminal.c
@@ -3842,7 +3842,7 @@ term_get_buf(typval_T *argvars, char *wh
 
     (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)
     {