diff options
Diffstat (limited to 'firmware/drivers/lcd-bitmap-common.c')
-rw-r--r-- | firmware/drivers/lcd-bitmap-common.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/firmware/drivers/lcd-bitmap-common.c b/firmware/drivers/lcd-bitmap-common.c index 364fb3c527..fc84fdd6a1 100644 --- a/firmware/drivers/lcd-bitmap-common.c +++ b/firmware/drivers/lcd-bitmap-common.c | |||
@@ -203,9 +203,15 @@ static void LCDFN(putsxyofs)(int x, int y, int ofs, const unsigned char *str) | |||
203 | } | 203 | } |
204 | 204 | ||
205 | bits = font_get_bits(pf, *ucs); | 205 | bits = font_get_bits(pf, *ucs); |
206 | LCDFN(mono_bitmap_part)(bits, ofs, 0, width, x + base_ofs, y, | ||
207 | width - ofs, pf->height); | ||
208 | 206 | ||
207 | #if defined(MAIN_LCD) && defined(HAVE_LCD_COLOR) | ||
208 | if (pf->depth) | ||
209 | lcd_alpha_bitmap_part(bits, ofs, 0, width, x + base_ofs, y, | ||
210 | width - ofs, pf->height); | ||
211 | else | ||
212 | #endif | ||
213 | LCDFN(mono_bitmap_part)(bits, ofs, 0, width, x + base_ofs, | ||
214 | y, width - ofs, pf->height); | ||
209 | if (is_diac) | 215 | if (is_diac) |
210 | { | 216 | { |
211 | current_vp->drawmode = drawmode; | 217 | current_vp->drawmode = drawmode; |