diff options
Diffstat (limited to 'apps/recorder')
-rw-r--r-- | apps/recorder/albumart.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/recorder/albumart.c b/apps/recorder/albumart.c index 2722b57f8a..ef89b06002 100644 --- a/apps/recorder/albumart.c +++ b/apps/recorder/albumart.c | |||
@@ -247,7 +247,8 @@ void draw_album_art(struct gui_wps *gwps, int handle_id, bool clear) | |||
247 | #endif | 247 | #endif |
248 | 248 | ||
249 | struct bitmap *bmp; | 249 | struct bitmap *bmp; |
250 | bufgetdata(handle_id, 0, (void *)&bmp); | 250 | if (bufgetdata(handle_id, 0, (void *)&bmp) <= 0) |
251 | return; | ||
251 | 252 | ||
252 | short x = data->albumart_x; | 253 | short x = data->albumart_x; |
253 | short y = data->albumart_y; | 254 | short y = data->albumart_y; |