summaryrefslogtreecommitdiff
path: root/apps/recorder/albumart.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/recorder/albumart.c')
-rw-r--r--apps/recorder/albumart.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/recorder/albumart.c b/apps/recorder/albumart.c
index 6aaf3885d7..6761cfc67a 100644
--- a/apps/recorder/albumart.c
+++ b/apps/recorder/albumart.c
@@ -125,8 +125,8 @@ static void fix_path_part(char* path, int offset, int count)
125 * If a matching bitmap is found, its filename is stored in buf. 125 * If a matching bitmap is found, its filename is stored in buf.
126 * Return value is true if a bitmap was found, false otherwise. 126 * Return value is true if a bitmap was found, false otherwise.
127 */ 127 */
128static bool search_files(const struct mp3entry *id3, const char *size_string, 128bool search_albumart_files(const struct mp3entry *id3, const char *size_string,
129 char *buf, int buflen) 129 char *buf, int buflen)
130{ 130{
131 char path[MAX_PATH + 1]; 131 char path[MAX_PATH + 1];
132 char dir[MAX_PATH + 1]; 132 char dir[MAX_PATH + 1];
@@ -228,12 +228,12 @@ bool find_albumart(const struct mp3entry *id3, char *buf, int buflen)
228 data->albumart_max_width, data->albumart_max_height); 228 data->albumart_max_width, data->albumart_max_height);
229 229
230 /* First we look for a bitmap of the right size */ 230 /* First we look for a bitmap of the right size */
231 if (search_files(id3, size_string, buf, buflen)) 231 if (search_albumart_files(id3, size_string, buf, buflen))
232 return true; 232 return true;
233 233
234 /* Then we look for generic bitmaps */ 234 /* Then we look for generic bitmaps */
235 *size_string = 0; 235 *size_string = 0;
236 return search_files(id3, size_string, buf, buflen); 236 return search_albumart_files(id3, size_string, buf, buflen);
237} 237}
238 238
239/* Draw the album art bitmap from the given handle ID onto the given WPS. 239/* Draw the album art bitmap from the given handle ID onto the given WPS.