1
0
Fork 0
forked from len0rd/rockbox

FS#10201, skip folder.jpg in search_albumart_files if size_string is not empty.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20951 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Andrew Mahone 2009-05-15 23:26:37 +00:00
parent da3dc455f6
commit d59bff092d

View file

@ -193,7 +193,7 @@ bool search_albumart_files(const struct mp3entry *id3, const char *size_string,
} }
#if defined(HAVE_JPEG) || defined(PLUGIN) #if defined(HAVE_JPEG) || defined(PLUGIN)
if (!found) if (!found && !*size_string)
{ {
snprintf (path, sizeof(path), "%sfolder.jpg", dir); snprintf (path, sizeof(path), "%sfolder.jpg", dir);
found = file_exists(path); found = file_exists(path);