1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-05 03:20:39 -08:00

(MAKE_CHAR): Be sure to set MSB of C1 to 0.

This commit is contained in:
Kenichi Handa 2000-09-07 08:02:20 +00:00
parent 794f3670a5
commit 2cd31e75ff

View file

@ -398,7 +398,7 @@ extern int width_by_char_head[256];
: ((CHARSET_DEFINED_P (charset) \
? CHARSET_DIMENSION (charset) == 1 \
: (charset) < MIN_CHARSET_PRIVATE_DIMENSION2) \
? (((charset) - 0x70) << 7) | ((c1) <= 0 ? 0 : (c1)) \
? (((charset) - 0x70) << 7) | ((c1) <= 0 ? 0 : ((c1) & 0x7F)) \
: ((((charset) \
- ((charset) < MIN_CHARSET_PRIVATE_DIMENSION2 ? 0x8F : 0xE0)) \
<< 14) \