queue_print: use new_items instead of items

Fix a typo in one of the previous patches.
This commit is contained in:
Max Kellermann 2009-01-24 15:26:23 +01:00
parent cf9595df18
commit daa5f5924d

View File

@ -93,7 +93,7 @@ queue_search(struct client *client, const struct queue *queue,
for (i = 0; i < queue_length(queue); i++) {
const struct song *song = queue_get(queue, i);
if (strstrSearchTags(song, num_items, items))
if (strstrSearchTags(song, num_items, new_items))
queue_print_song_info(client, queue, i);
}