Commit 3dafd6ce authored by Warren Dukes's avatar Warren Dukes

fix bug in find

git-svn-id: https://svn.musicpd.org/mpd/trunk@2638 09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent ff2bd4d4
...@@ -215,7 +215,7 @@ int findInDirectory(FILE * fp, Song * song, void * data) { ...@@ -215,7 +215,7 @@ int findInDirectory(FILE * fp, Song * song, void * data) {
LocateTagItemArray * array = data; LocateTagItemArray * array = data;
int i; int i;
for(i = 0; i < 0; i++) { for(i = 0; i < array->numItems; i++) {
if(!tagItemFoundAndMatches(song, array->items[i].tagType, if(!tagItemFoundAndMatches(song, array->items[i].tagType,
array->items[i].needle)) array->items[i].needle))
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment