Don't recheck for track art when checking track art first.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21127 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Andrew Mahone 2009-05-29 10:58:23 +00:00
parent 84106fd917
commit b41208fffd

View file

@ -167,7 +167,7 @@ bool search_albumart_files(const struct mp3entry *id3, const char *size_string,
dirlen = strlen(dir); dirlen = strlen(dir);
albumlen = id3->album ? strlen(id3->album) : 0; albumlen = id3->album ? strlen(id3->album) : 0;
for(pass = 0; pass < 2; pass++) for(pass = 0; pass < 2 - track_first; pass++)
{ {
if (track_first || pass) if (track_first || pass)
{ {