mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -04:00
patch 8.1.0583: using illogical name for get_dict_number()/get_dict_string()
Problem: Using illogical name for get_dict_number()/get_dict_string(). Solution: Rename to start with dict_.
This commit is contained in:
@@ -4160,14 +4160,14 @@ tagstack_push_items(win_T *wp, list_T *l)
|
||||
if (list2fpos(&di->di_tv, &mark, &fnum, NULL) != OK)
|
||||
continue;
|
||||
if ((tagname =
|
||||
get_dict_string(itemdict, (char_u *)"tagname", TRUE)) == NULL)
|
||||
dict_get_string(itemdict, (char_u *)"tagname", TRUE)) == NULL)
|
||||
continue;
|
||||
|
||||
if (mark.col > 0)
|
||||
mark.col--;
|
||||
tagstack_push_item(wp, tagname,
|
||||
(int)get_dict_number(itemdict, (char_u *)"bufnr"),
|
||||
(int)get_dict_number(itemdict, (char_u *)"matchnr") - 1,
|
||||
(int)dict_get_number(itemdict, (char_u *)"bufnr"),
|
||||
(int)dict_get_number(itemdict, (char_u *)"matchnr") - 1,
|
||||
mark, fnum);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user