queue_print: use new_items instead of items
Fix a typo in one of the previous patches.
This commit is contained in:
parent
cf9595df18
commit
daa5f5924d
@ -93,7 +93,7 @@ queue_search(struct client *client, const struct queue *queue,
|
|||||||
for (i = 0; i < queue_length(queue); i++) {
|
for (i = 0; i < queue_length(queue); i++) {
|
||||||
const struct song *song = queue_get(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);
|
queue_print_song_info(client, queue, i);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user