changeset 26996:5409f70f1c23

(char_bytes): Use ((1 << CHARACTERBITS) - 1) instead of GLYPH_MASK_CHAR.
author Kenichi Handa <handa@m17n.org>
date Mon, 27 Dec 1999 05:04:47 +0000
parents 85c7cda1975f
children de70d8b0de3b
files src/charset.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/charset.c	Mon Dec 27 05:04:23 1999 +0000
+++ b/src/charset.c	Mon Dec 27 05:04:47 1999 +0000
@@ -1161,7 +1161,7 @@
 {
   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);