diff --git a/core/embed/lib/terminal.c b/core/embed/lib/terminal.c index 9a471aebc..954086a30 100644 --- a/core/embed/lib/terminal.c +++ b/core/embed/lib/terminal.c @@ -53,7 +53,7 @@ static uint64_t term_glyph_bits(char ch) { uint8_t bytes[8]; } result = {0}; - if (ch > ' ' && ch < 128) { + if (ch > 32 && (uint8_t)ch < 128) { const uint8_t *b = &Font_Bitmap[(ch - ' ') * 5]; for (int y = 0; y < 7; y++) {