aboutsummaryrefslogtreecommitdiffstats
path: root/src/dbUtils.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/dbUtils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dbUtils.c b/src/dbUtils.c
index 2f915a13a..5878e6f0f 100644
--- a/src/dbUtils.c
+++ b/src/dbUtils.c
@@ -215,7 +215,7 @@ int findInDirectory(FILE * fp, Song * song, void * data) {
LocateTagItemArray * array = data;
int i;
- for(i = 0; i < 0; i++) {
+ for(i = 0; i < array->numItems; i++) {
if(!tagItemFoundAndMatches(song, array->items[i].tagType,
array->items[i].needle))
{