diff options
Diffstat (limited to 'apps/gui/backdrop.c')
-rw-r--r-- | apps/gui/backdrop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/gui/backdrop.c b/apps/gui/backdrop.c index 6178894c42..c95fda9022 100644 --- a/apps/gui/backdrop.c +++ b/apps/gui/backdrop.c | |||
@@ -52,7 +52,7 @@ static bool load_backdrop(const char* filename, fb_data* backdrop_buffer) | |||
52 | /* load the image */ | 52 | /* load the image */ |
53 | bm.data=(char*)backdrop_buffer; | 53 | bm.data=(char*)backdrop_buffer; |
54 | ret = read_bmp_file(filename, &bm, sizeof(main_backdrop), | 54 | ret = read_bmp_file(filename, &bm, sizeof(main_backdrop), |
55 | FORMAT_NATIVE | FORMAT_DITHER); | 55 | FORMAT_NATIVE | FORMAT_DITHER, NULL); |
56 | 56 | ||
57 | if ((ret > 0) && (bm.width == LCD_WIDTH) && (bm.height == LCD_HEIGHT)) | 57 | if ((ret > 0) && (bm.width == LCD_WIDTH) && (bm.height == LCD_HEIGHT)) |
58 | { | 58 | { |
@@ -114,7 +114,7 @@ static bool load_remote_backdrop(const char* filename, fb_remote_data* backdrop_ | |||
114 | /* load the image */ | 114 | /* load the image */ |
115 | bm.data=(char*)backdrop_buffer; | 115 | bm.data=(char*)backdrop_buffer; |
116 | ret = read_bmp_file(filename, &bm, sizeof(main_backdrop), | 116 | ret = read_bmp_file(filename, &bm, sizeof(main_backdrop), |
117 | FORMAT_NATIVE | FORMAT_DITHER | FORMAT_REMOTE); | 117 | FORMAT_NATIVE | FORMAT_DITHER | FORMAT_REMOTE, NULL); |
118 | 118 | ||
119 | if ((ret > 0) && (bm.width == LCD_REMOTE_WIDTH) && (bm.height == LCD_REMOTE_HEIGHT)) | 119 | if ((ret > 0) && (bm.width == LCD_REMOTE_WIDTH) && (bm.height == LCD_REMOTE_HEIGHT)) |
120 | { | 120 | { |