diff options
author | Andrew Mahone <andrew.mahone@gmail.com> | 2009-05-15 23:26:37 +0000 |
---|---|---|
committer | Andrew Mahone <andrew.mahone@gmail.com> | 2009-05-15 23:26:37 +0000 |
commit | d59bff092d461c013c0fed34ffa950e1f4ae2aa2 (patch) | |
tree | 18984ac1b3483934d5fad01fdecbe824d8e85079 | |
parent | da3dc455f66959f816d914c078e55d061a6b82d4 (diff) | |
download | rockbox-d59bff092d461c013c0fed34ffa950e1f4ae2aa2.tar.gz rockbox-d59bff092d461c013c0fed34ffa950e1f4ae2aa2.zip |
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
-rw-r--r-- | apps/recorder/albumart.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/recorder/albumart.c b/apps/recorder/albumart.c index 24b01f9c52..92e36d9113 100644 --- a/apps/recorder/albumart.c +++ b/apps/recorder/albumart.c | |||
@@ -193,7 +193,7 @@ bool search_albumart_files(const struct mp3entry *id3, const char *size_string, | |||
193 | } | 193 | } |
194 | 194 | ||
195 | #if defined(HAVE_JPEG) || defined(PLUGIN) | 195 | #if defined(HAVE_JPEG) || defined(PLUGIN) |
196 | if (!found) | 196 | if (!found && !*size_string) |
197 | { | 197 | { |
198 | snprintf (path, sizeof(path), "%sfolder.jpg", dir); | 198 | snprintf (path, sizeof(path), "%sfolder.jpg", dir); |
199 | found = file_exists(path); | 199 | found = file_exists(path); |