From: Kenichi Handa Date: Mon, 27 Dec 1999 05:04:47 +0000 (+0000) Subject: (char_bytes): Use ((1 << CHARACTERBITS) - 1) instead X-Git-Tag: emacs-pretest-21.0.90~5627 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ae87e39643b1364a706e75ce7f50b4969782f350;p=emacs.git (char_bytes): Use ((1 << CHARACTERBITS) - 1) instead of GLYPH_MASK_CHAR. --- 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);