diff options
author | Stefan Assmann <sassmann@kpanic.de> | 2019-02-22 13:29:17 +0100 |
---|---|---|
committer | Amadeusz Sławiński <amade@asmblr.net> | 2019-03-17 14:31:45 +0100 |
commit | 7fc842ddc6e5905da2c5961547e3ff7385bbcc44 (patch) | |
tree | 15b75ead4b2bc381f87d1936d7e010d07018abdc | |
parent | d2d33f664132e9473c62f37a4758a047fa83eb7a (diff) | |
download | screen-7fc842ddc6e5905da2c5961547e3ff7385bbcc44.tar.gz |
fix UTF-8 characters with more than 2 bytes
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
-rw-r--r-- | src/display.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/display.c b/src/display.c index 0e28448..3bfa12a 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) |