Characters are stored as uint32 nowadays. Looking at the lower bytes only seems to be an oversight from the fontx clean up.
Fixes: f18f5d0da1d4 get rid of fontx --- src/display.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/display.c b/src/display.c index 0e2844815b10..3bfa12add6eb 100644 --- a/src/display.c +++ b/src/display.c @@ -431,7 +431,6 @@ static void RAW_PUTCHAR(uint32_t c) { if (D_encoding == UTF8) { - c = (c & 255) | (unsigned char)D_rend.font << 8; if (D_mbcs) { c = D_mbcs; if (D_x == D_width) -- 2.20.1