diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-01-03 22:19:27 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-01-03 22:19:27 +0100 |
commit | f2d79fa92d0ed90732f52dd88da4ad66c2c5ce13 (patch) | |
tree | fbddf38e0c77ff8f5c45559dad3b05f942644967 /src/textprop.c | |
parent | 4b7214ea7834c72188f4a7b0b76b49b81fef7d27 (diff) | |
download | vim-git-f2d79fa92d0ed90732f52dd88da4ad66c2c5ce13.tar.gz |
patch 8.1.0685: get_buf_tv() is named inconsistentlyv8.1.0685
Problem: get_buf_tv() is named inconsistently.
Solution: Rename it to tv_get_buf(). (Yegappan Lakshmanan, closes #3759)
Diffstat (limited to 'src/textprop.c')
-rw-r--r-- | src/textprop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/textprop.c b/src/textprop.c index 578f6e934..53b43e164 100644 --- a/src/textprop.c +++ b/src/textprop.c @@ -130,7 +130,7 @@ get_bufnr_from_arg(typval_T *arg, buf_T **buf) di = dict_find(arg->vval.v_dict, (char_u *)"bufnr", -1); if (di != NULL) { - *buf = get_buf_tv(&di->di_tv, FALSE); + *buf = tv_get_buf(&di->di_tv, FALSE); if (*buf == NULL) return FAIL; } @@ -533,7 +533,7 @@ f_prop_remove(typval_T *argvars, typval_T *rettv) di = dict_find(dict, (char_u *)"bufnr", -1); if (di != NULL) { - buf = get_buf_tv(&di->di_tv, FALSE); + buf = tv_get_buf(&di->di_tv, FALSE); if (buf == NULL) return; } |