diff options
Diffstat (limited to 'apps/plugins/imageviewer/jpeg/jpeg.c')
-rw-r--r-- | apps/plugins/imageviewer/jpeg/jpeg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/imageviewer/jpeg/jpeg.c b/apps/plugins/imageviewer/jpeg/jpeg.c index b16ec1c4b1..95e493e7ee 100644 --- a/apps/plugins/imageviewer/jpeg/jpeg.c +++ b/apps/plugins/imageviewer/jpeg/jpeg.c | |||
@@ -94,7 +94,7 @@ void draw_image_rect(struct image_info *info, | |||
94 | width, height, | 94 | width, height, |
95 | settings.jpeg_colour_mode, settings.jpeg_dither_mode); | 95 | settings.jpeg_colour_mode, settings.jpeg_dither_mode); |
96 | #else | 96 | #else |
97 | MYXLCD(gray_bitmap_part)( | 97 | mylcd_ub_gray_bitmap_part( |
98 | pdisp->bitmap[0], info->x + x, info->y + y, pdisp->stride, | 98 | pdisp->bitmap[0], info->x + x, info->y + y, pdisp->stride, |
99 | x + MAX(0, (LCD_WIDTH-info->width)/2), | 99 | x + MAX(0, (LCD_WIDTH-info->width)/2), |
100 | y + MAX(0, (LCD_HEIGHT-info->height)/2), | 100 | y + MAX(0, (LCD_HEIGHT-info->height)/2), |