From: Kenichi Handa Date: Thu, 7 Sep 2000 08:02:20 +0000 (+0000) Subject: (MAKE_CHAR): Be sure to set MSB of C1 to 0. X-Git-Tag: emacs-pretest-21.0.90~1753 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2cd31e75ff7a308a368c7aea541abd16cf4c0406;p=emacs.git (MAKE_CHAR): Be sure to set MSB of C1 to 0. --- diff --git a/src/charset.h b/src/charset.h index ad0f60ff489..cdc7d9a0de3 100644 --- a/src/charset.h +++ b/src/charset.h @@ -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) \