diff options
Diffstat (limited to 'apps/plugins/pictureflow/pictureflow.c')
-rw-r--r-- | apps/plugins/pictureflow/pictureflow.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/plugins/pictureflow/pictureflow.c b/apps/plugins/pictureflow/pictureflow.c index 97a3b82176..d26e6ead60 100644 --- a/apps/plugins/pictureflow/pictureflow.c +++ b/apps/plugins/pictureflow/pictureflow.c | |||
@@ -1257,14 +1257,13 @@ int create_empty_slide(bool force) | |||
1257 | { | 1257 | { |
1258 | if ( force || ! rb->file_exists( EMPTY_SLIDE ) ) { | 1258 | if ( force || ! rb->file_exists( EMPTY_SLIDE ) ) { |
1259 | struct bitmap input_bmp; | 1259 | struct bitmap input_bmp; |
1260 | int ret; | ||
1261 | input_bmp.width = DISPLAY_WIDTH; | 1260 | input_bmp.width = DISPLAY_WIDTH; |
1262 | input_bmp.height = DISPLAY_HEIGHT; | 1261 | input_bmp.height = DISPLAY_HEIGHT; |
1263 | #if LCD_DEPTH > 1 | 1262 | #if LCD_DEPTH > 1 |
1264 | input_bmp.format = FORMAT_NATIVE; | 1263 | input_bmp.format = FORMAT_NATIVE; |
1265 | #endif | 1264 | #endif |
1266 | input_bmp.data = (char*)buf; | 1265 | input_bmp.data = (char*)buf; |
1267 | ret = scaled_read_bmp_file(EMPTY_SLIDE_BMP, &input_bmp, | 1266 | scaled_read_bmp_file(EMPTY_SLIDE_BMP, &input_bmp, |
1268 | buf_size, | 1267 | buf_size, |
1269 | FORMAT_NATIVE|FORMAT_RESIZE|FORMAT_KEEP_ASPECT, | 1268 | FORMAT_NATIVE|FORMAT_RESIZE|FORMAT_KEEP_ASPECT, |
1270 | &format_transposed); | 1269 | &format_transposed); |