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

[Horus] Input icons were broken

This commit is contained in:
Andre Bernet 2016-05-07 10:30:41 +02:00
parent 3b445321fc
commit 1c7bd63a94

View file

@ -37,10 +37,10 @@ char getMappedChar(unsigned char c)
{ {
if (c == 0) if (c == 0)
return 0; return 0;
else if (c >= 0x80 && c <= 0x85) else if (c < 0xC0)
return 115 + c - 0x80;
else
return c - 0x20; return c - 0x20;
else
return c - 0xC0 + 96;
} }
int getFontPatternWidth(const uint16_t * spec, int index) int getFontPatternWidth(const uint16_t * spec, int index)