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/tag/Set.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tag/Set.cxx') diff --git a/src/tag/Set.cxx b/src/tag/Set.cxx index 22d1728ad..24ca30ee3 100644 --- a/src/tag/Set.cxx +++ b/src/tag/Set.cxx @@ -110,7 +110,7 @@ TagSet::InsertUnique(const Tag &tag, if (!CheckUnique(type, tag, type, group_mask) && (type != TAG_ALBUM_ARTIST || - ignore_tag_items[TAG_ALBUM_ARTIST] || + !IsTagEnabled(TAG_ALBUM_ARTIST) || /* fall back to "Artist" if no "AlbumArtist" was found */ !CheckUnique(type, tag, TAG_ARTIST, group_mask))) InsertUnique(tag, type, nullptr, group_mask); -- cgit v1.2.3