From 60c077c79076f50317a4637b65c69bff3df134a7 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 24 Aug 2015 10:52:08 +0200 Subject: tag/Settings: add function IsTagEnabled() wrapping access to ignore_tag_items[] --- src/TagPrint.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/TagPrint.cxx') diff --git a/src/TagPrint.cxx b/src/TagPrint.cxx index 3914a5860..4a97d851e 100644 --- a/src/TagPrint.cxx +++ b/src/TagPrint.cxx @@ -27,7 +27,7 @@ void tag_print_types(Response &r) { for (unsigned i = 0; i < TAG_NUM_OF_ITEM_TYPES; i++) - if (!ignore_tag_items[i]) + if (IsTagEnabled(i)) r.Format("tagtype: %s\n", tag_item_names[i]); } -- cgit v1.2.3