summaryrefslogtreecommitdiff
path: root/src/tag.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tag.c')
-rw-r--r--src/tag.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tag.c b/src/tag.c
index b7ac9c150..577a4b76f 100644
--- a/src/tag.c
+++ b/src/tag.c
@@ -4313,7 +4313,7 @@ add_tag_field(
int retval;
// check that the field name doesn't exist yet
- if (dict_find(dict, (char_u *)field_name, -1) != NULL)
+ if (dict_has_key(dict, field_name))
{
if (p_verbose > 0)
{