From ae87e39643b1364a706e75ce7f50b4969782f350 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Mon, 27 Dec 1999 05:04:47 +0000 Subject: [PATCH] (char_bytes): Use ((1 << CHARACTERBITS) - 1) instead of GLYPH_MASK_CHAR. --- src/charset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/charset.c b/src/charset.c index 302f243ad5a..104756ded65 100644 --- a/src/charset.c +++ b/src/charset.c @@ -1161,7 +1161,7 @@ char_bytes (c) { int charset; - if (SINGLE_BYTE_CHAR_P (c) || (c & ~GLYPH_MASK_CHAR)) + if (SINGLE_BYTE_CHAR_P (c) || (c & ~((1 << CHARACTERBITS) - 1))) return 1; charset = CHAR_CHARSET (c); -- 2.39.5