From 2cd31e75ff7a308a368c7aea541abd16cf4c0406 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Thu, 7 Sep 2000 08:02:20 +0000 Subject: [PATCH] (MAKE_CHAR): Be sure to set MSB of C1 to 0. --- src/charset.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) \ -- 2.39.2