On Fri, 22 Feb 2019 13:29:17 +0100 Stefan Assmann <sassm...@kpanic.de> wrote:
> 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) Hi, I pushed it to master, but as mentioned in few other places already, encoding handling could use a rewrite. Thanks, Amadeusz