diff options
author | Axel Beckert <abe@deuxchevaux.org> | 2014-04-17 14:11:28 +0200 |
---|---|---|
committer | Axel Beckert <abe@deuxchevaux.org> | 2014-04-17 14:11:28 +0200 |
commit | c3927cc39106d6b7cd746109784b6e8af203ec6b (patch) | |
tree | c7e4f517ca9a07c0cd8c809da7af0251e8cec6a7 /display.c | |
parent | 28a2487f484d19f570280f391f606aeb7fb3fb4a (diff) | |
download | screen-c3927cc39106d6b7cd746109784b6e8af203ec6b.tar.gz |
Imported Upstream version 4.2.0upstream/4.2.0
Diffstat (limited to 'display.c')
-rw-r--r-- | display.c | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -594,7 +594,7 @@ int c; # ifdef UTF8 if (D_encoding == UTF8) { - c = (c & 255) | (unsigned char)D_rend.font << 8; + c = (c & 255) | (unsigned char)D_rend.font << 8 | (unsigned char)D_rend.fontx << 16; # ifdef DW_CHARS if (D_mbcs) { @@ -1882,6 +1882,10 @@ struct mchar *mc; #ifdef FONT if (D_rend.font != mc->font) SetFont(mc->font); +#ifdef UTF8 + if (D_encoding == UTF8) + D_rend.fontx = mc->fontx; +#endif #endif } @@ -1934,6 +1938,10 @@ int x; #ifdef FONT if (D_rend.font != ml->font[x]) SetFont(ml->font[x]); +#ifdef UTF8 + if (D_encoding == UTF8) + D_rend.fontx = ml->fontx[x]; +#endif #endif } |