aboutsummaryrefslogtreecommitdiffstats
path: root/src/stats.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-10-13 16:12:45 +0200
committerMax Kellermann <max@duempel.org>2009-10-13 16:12:45 +0200
commitea616b3ed4c1e94f29ac32bcd7751943e2d647a0 (patch)
treead7aab07cba992b1aa728466bc1ffe5ca9e1e1a0 /src/stats.c
parenta9dc0e816c0b6c0ed19a584225e3fe6251f1a4c6 (diff)
downloadmpd-ea616b3ed4c1e94f29ac32bcd7751943e2d647a0.tar.gz
mpd-ea616b3ed4c1e94f29ac32bcd7751943e2d647a0.tar.xz
mpd-ea616b3ed4c1e94f29ac32bcd7751943e2d647a0.zip
tag: removed the "_ITEM_" suffix from the enum names
Diffstat (limited to '')
-rw-r--r--src/stats.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stats.c b/src/stats.c
index 70e790b83..303d23c8e 100644
--- a/src/stats.c
+++ b/src/stats.c
@@ -52,11 +52,11 @@ visit_tag(struct visit_data *data, const struct tag *tag)
const struct tag_item *item = tag->items[i];
switch (item->type) {
- case TAG_ITEM_ARTIST:
+ case TAG_ARTIST:
strset_add(data->artists, item->value);
break;
- case TAG_ITEM_ALBUM:
+ case TAG_ALBUM:
strset_add(data->albums, item->value);
break;