aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-24 15:26:23 +0100
committerMax Kellermann <max@duempel.org>2009-01-24 15:26:23 +0100
commitdaa5f5924d7406cc9d82ee893942f95e81c18cba (patch)
treed271214dbf551fb3e18cd2d4de4a7ea55aa1b178
parentcf9595df187d005489f8b94ed27dba2a6c94fd78 (diff)
downloadmpd-daa5f5924d7406cc9d82ee893942f95e81c18cba.tar.gz
mpd-daa5f5924d7406cc9d82ee893942f95e81c18cba.tar.xz
mpd-daa5f5924d7406cc9d82ee893942f95e81c18cba.zip
queue_print: use new_items instead of items
Fix a typo in one of the previous patches.
-rw-r--r--src/queue_print.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/queue_print.c b/src/queue_print.c
index fb56d4ad6..b33c4f3ba 100644
--- a/src/queue_print.c
+++ b/src/queue_print.c
@@ -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);
}