From 1c7bd63a94e1e76f610e664f44f07d09bf4180b3 Mon Sep 17 00:00:00 2001 From: Andre Bernet Date: Sat, 7 May 2016 10:30:41 +0200 Subject: [PATCH] [Horus] Input icons were broken --- radio/src/gui/horus/lcd.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/radio/src/gui/horus/lcd.cpp b/radio/src/gui/horus/lcd.cpp index 26a3880eb..fe288b378 100644 --- a/radio/src/gui/horus/lcd.cpp +++ b/radio/src/gui/horus/lcd.cpp @@ -37,10 +37,10 @@ char getMappedChar(unsigned char c) { if (c == 0) return 0; - else if (c >= 0x80 && c <= 0x85) - return 115 + c - 0x80; - else + else if (c < 0xC0) return c - 0x20; + else + return c - 0xC0 + 96; } int getFontPatternWidth(const uint16_t * spec, int index)