HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08cb5a0
)
(char_valid_p): Handle a composite character correctly.
author
Kenichi Handa
<handa@m17n.org>
Wed, 11 Nov 1998 10:31:24 +0000
(10:31 +0000)
committer
Kenichi Handa
<handa@m17n.org>
Wed, 11 Nov 1998 10:31:24 +0000
(10:31 +0000)
src/charset.c
patch
|
blob
|
blame
|
history
diff --git
a/src/charset.c
b/src/charset.c
index
a96d39b
..
45fb383
100644
(file)
--- a/
src/charset.c
+++ b/
src/charset.c
@@
-992,7
+992,7
@@
char_valid_p (c, genericp)
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. */