summaryrefslogtreecommitdiff
path: root/apps/radio
diff options
context:
space:
mode:
Diffstat (limited to 'apps/radio')
-rwxr-xr-x[-rw-r--r--]apps/radio/radioart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/radio/radioart.c b/apps/radio/radioart.c
index 5e1a0ad5cf..87d37cd52c 100644..100755
--- a/apps/radio/radioart.c
+++ b/apps/radio/radioart.c
@@ -88,7 +88,7 @@ static int load_radioart_image(struct radioart *ra, const char* preset_name,
88 user_data.embedded_albumart = NULL; 88 user_data.embedded_albumart = NULL;
89 user_data.dim = &ra->dim; 89 user_data.dim = &ra->dim;
90 ra->handle = bufopen(path, 0, TYPE_BITMAP, &user_data); 90 ra->handle = bufopen(path, 0, TYPE_BITMAP, &user_data);
91 if (ra->handle == ERR_BUFFER_FULL) 91 if (ra->handle == ERR_BUFFER_FULL || ra->handle == ERR_BITMAP_TOO_LARGE)
92 { 92 {
93 int i = find_oldest_image_index(); 93 int i = find_oldest_image_index();
94 if (i != -1) 94 if (i != -1)