aboutsummaryrefslogtreecommitdiffstats
path: root/src/TagPrint.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2015-08-24 10:52:08 +0200
committerMax Kellermann <max@duempel.org>2015-08-24 11:20:45 +0200
commit60c077c79076f50317a4637b65c69bff3df134a7 (patch)
treeb40d1b0a7951b27a87eed3dcdc861127ea3662b2 /src/TagPrint.cxx
parent7aaa4dda2261f416478a9987ce25b46929c60957 (diff)
downloadmpd-60c077c79076f50317a4637b65c69bff3df134a7.tar.gz
mpd-60c077c79076f50317a4637b65c69bff3df134a7.tar.xz
mpd-60c077c79076f50317a4637b65c69bff3df134a7.zip
tag/Settings: add function IsTagEnabled() wrapping access to ignore_tag_items[]
Diffstat (limited to '')
-rw-r--r--src/TagPrint.cxx2
1 files changed, 1 insertions, 1 deletions
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]);
}