1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-04-09 11:55:58 +00:00

fix(core): macos build with signed char

[no changelog]
This commit is contained in:
Martin Milata 2024-04-22 23:28:59 +02:00
parent 3903acf8dd
commit 98287f550d

View File

@ -53,7 +53,7 @@ static uint64_t term_glyph_bits(char ch) {
uint8_t bytes[8];
} result = {0};
if (ch > ' ' && ch < 128) {
if (ch > ' ' && ch <= '~') {
const uint8_t *b = &Font_Bitmap[(ch - ' ') * 5];
for (int y = 0; y < 7; y++) {