diff options
author | Max Kellermann <max@duempel.org> | 2009-10-13 16:12:45 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-10-13 16:12:45 +0200 |
commit | ea616b3ed4c1e94f29ac32bcd7751943e2d647a0 (patch) | |
tree | ad7aab07cba992b1aa728466bc1ffe5ca9e1e1a0 /src/command.c | |
parent | a9dc0e816c0b6c0ed19a584225e3fe6251f1a4c6 (diff) | |
download | mpd-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/command.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/command.c b/src/command.c index 3866d039c..cbc77edc1 100644 --- a/src/command.c +++ b/src/command.c @@ -1236,17 +1236,17 @@ handle_list(struct client *client, int argc, char *argv[]) /* for compatibility with < 0.12.0 */ if (argc == 3) { - if (tagType != TAG_ITEM_ALBUM) { + if (tagType != TAG_ALBUM) { command_error(client, ACK_ERROR_ARG, "should be \"%s\" for 3 arguments", - tag_item_names[TAG_ITEM_ALBUM]); + tag_item_names[TAG_ALBUM]); return COMMAND_RETURN_ERROR; } locate_item_list_parse(argv + 1, argc - 1); conditionals = locate_item_list_new(1); - conditionals->items[0].tag = TAG_ITEM_ARTIST; + conditionals->items[0].tag = TAG_ARTIST; conditionals->items[0].needle = g_strdup(argv[2]); } else { conditionals = |