diff src/tag.c @ 15146:7903dce131d4 v8.1.0583

patch 8.1.0583: using illogical name for get_dict_number()/get_dict_string() commit https://github.com/vim/vim/commit/8f66717a1f835b8194139d158c1e2df8b30c3ef3 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Dec 14 15:38:31 2018 +0100 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_.
author Bram Moolenaar <Bram@vim.org>
date Fri, 14 Dec 2018 15:45:06 +0100
parents c338c91086b9
children de63593896b3
line wrap: on
line diff
--- a/src/tag.c
+++ b/src/tag.c
@@ -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);
     }
 }