Mercurial > vim
comparison src/misc2.c @ 15211:de63593896b3 v8.1.0615
patch 8.1.0615: get_tv function names are not consistent
commit https://github.com/vim/vim/commit/d155d7a8519987361169459b8d464ae1caef5e9c
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Dec 21 16:04:21 2018 +0100
patch 8.1.0615: get_tv function names are not consistent
Problem: Get_tv function names are not consistent.
Solution: Rename to tv_get.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 21 Dec 2018 16:15:06 +0100 |
parents | 3a99b2e6d136 |
children | ba6f0f1bb9d0 |
comparison
equal
deleted
inserted
replaced
15210:fbb2936c39b6 | 15211:de63593896b3 |
---|---|
6591 if (*argv == NULL) | 6591 if (*argv == NULL) |
6592 return FAIL; | 6592 return FAIL; |
6593 *argc = 0; | 6593 *argc = 0; |
6594 for (li = l->lv_first; li != NULL; li = li->li_next) | 6594 for (li = l->lv_first; li != NULL; li = li->li_next) |
6595 { | 6595 { |
6596 s = get_tv_string_chk(&li->li_tv); | 6596 s = tv_get_string_chk(&li->li_tv); |
6597 if (s == NULL) | 6597 if (s == NULL) |
6598 { | 6598 { |
6599 int i; | 6599 int i; |
6600 | 6600 |
6601 for (i = 0; i < *argc; ++i) | 6601 for (i = 0; i < *argc; ++i) |