diff options
author | Max Kellermann <max@duempel.org> | 2013-10-20 13:32:59 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-10-20 13:32:59 +0200 |
commit | a78b2d84ed7c2a82c69c56125036e70b009a87b0 (patch) | |
tree | c8818c4111e9f2138cb66a38e1664ad5aa432bd4 /src/tag/ApeTag.cxx | |
parent | cf4d80fc655a399615529bdd27e0be284754c5ab (diff) | |
download | mpd-a78b2d84ed7c2a82c69c56125036e70b009a87b0.tar.gz mpd-a78b2d84ed7c2a82c69c56125036e70b009a87b0.tar.xz mpd-a78b2d84ed7c2a82c69c56125036e70b009a87b0.zip |
TagType: rename enum tag_type to TagType
Diffstat (limited to 'src/tag/ApeTag.cxx')
-rw-r--r-- | src/tag/ApeTag.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tag/ApeTag.cxx b/src/tag/ApeTag.cxx index 266d1546f..fa2e744c4 100644 --- a/src/tag/ApeTag.cxx +++ b/src/tag/ApeTag.cxx @@ -34,10 +34,10 @@ const struct tag_table ape_tags[] = { { nullptr, TAG_NUM_OF_ITEM_TYPES } }; -static enum tag_type +static TagType tag_ape_name_parse(const char *name) { - enum tag_type type = tag_table_lookup_i(ape_tags, name); + TagType type = tag_table_lookup_i(ape_tags, name); if (type == TAG_NUM_OF_ITEM_TYPES) type = tag_name_parse_i(name); @@ -58,7 +58,7 @@ tag_ape_import_item(unsigned long flags, tag_handler_invoke_pair(handler, handler_ctx, key, value); - enum tag_type type = tag_ape_name_parse(key); + TagType type = tag_ape_name_parse(key); if (type == TAG_NUM_OF_ITEM_TYPES) return false; |