comparison src/os_win32.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 6e4e0d43b20b
children 55ccc2d353bd
comparison
equal deleted inserted replaced
15210:fbb2936c39b6 15211:de63593896b3
5353 { 5353 {
5354 if (!HASHITEM_EMPTY(hi)) 5354 if (!HASHITEM_EMPTY(hi))
5355 { 5355 {
5356 typval_T *item = &dict_lookup(hi)->di_tv; 5356 typval_T *item = &dict_lookup(hi)->di_tv;
5357 WCHAR *wkey = enc_to_utf16((char_u *)hi->hi_key, NULL); 5357 WCHAR *wkey = enc_to_utf16((char_u *)hi->hi_key, NULL);
5358 WCHAR *wval = enc_to_utf16(get_tv_string(item), NULL); 5358 WCHAR *wval = enc_to_utf16(tv_get_string(item), NULL);
5359 --todo; 5359 --todo;
5360 if (wkey != NULL && wval != NULL) 5360 if (wkey != NULL && wval != NULL)
5361 { 5361 {
5362 size_t n; 5362 size_t n;
5363 size_t lkey = wcslen(wkey); 5363 size_t lkey = wcslen(wkey);