Mercurial > emacs
changeset 23688:5f039c506e17
(char_valid_p): Handle a composite character correctly.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Wed, 11 Nov 1998 10:31:24 +0000 |
parents | 9913df387dfb |
children | c0766cb586e4 |
files | src/charset.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/charset.c Wed Nov 11 03:36:15 1998 +0000 +++ b/src/charset.c Wed Nov 11 10:31:24 1998 +0000 @@ -992,7 +992,7 @@ if (SINGLE_BYTE_CHAR_P (c)) return 1; SPLIT_NON_ASCII_CHAR (c, charset, c1, c2); - if (!CHARSET_DEFINED_P (charset)) + if (charset != CHARSET_COMPOSITION && !CHARSET_DEFINED_P (charset)) return 0; return (c < MIN_CHAR_COMPOSITION ? ((c & CHAR_FIELD1_MASK) /* i.e. dimension of C is two. */