mirror of
https://github.com/neovim/neovim.git
synced 2025-10-08 10:56:31 +00:00
refactor: replace char_u with char
Work on https://github.com/neovim/neovim/issues/459
This commit is contained in:
@@ -2777,7 +2777,7 @@ static void tv_dict_list(typval_T *const tv, typval_T *const rettv, const DictLi
|
||||
switch (what) {
|
||||
case kDictListKeys:
|
||||
tv_item.v_type = VAR_STRING;
|
||||
tv_item.vval.v_string = (char *)vim_strsave(di->di_key);
|
||||
tv_item.vval.v_string = xstrdup((char *)di->di_key);
|
||||
break;
|
||||
case kDictListValues:
|
||||
tv_copy(&di->di_tv, &tv_item);
|
||||
|
Reference in New Issue
Block a user