1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-25 17:25:13 +03:00

Fixes #1427 - M badly displayed when SMLSIZE font used

This commit is contained in:
bsongis 2014-07-02 15:27:38 +02:00
parent c3aebfa239
commit 63fe996ebc
3 changed files with 10 additions and 1 deletions

View file

@ -204,7 +204,7 @@ void lcd_putcAtt(xcoord_t x, uint8_t y, const unsigned char c, LcdFlags flags)
}
else if (flags & SMLSIZE) {
q = (c < 0xc0 ? &font_4x6[(c-0x20)*5] : &font_4x6_extra[(c-0xc0)*5]);
lcdPutPattern(x, y, q, 4, 6, flags);
lcdPutPattern(x, y, q, 5, 6, flags);
}
else if (flags & TINSIZE) {
q = &font_3x5[((uint16_t)c-0x2d)*3];