summaryrefslogtreecommitdiff
path: root/src/character.c
diff options
context:
space:
mode:
authorKenichi Handa <handa@m17n.org>2003-09-28 23:54:27 +0000
committerKenichi Handa <handa@m17n.org>2003-09-28 23:54:27 +0000
commitcc6dfd2abc67ec3452a11b62b0c2626a1ce5208e (patch)
tree0ad4c4b50283b951bff17f45913c8676ef447bf8 /src/character.c
parent851a306284e05e3d482a2aec406ac3791d53d914 (diff)
downloademacs-cc6dfd2abc67ec3452a11b62b0c2626a1ce5208e.tar.gz
(char_string): Use ASCII_CHAR_P instead of SINGLE_BYTE_CHAR_P.
Diffstat (limited to 'src/character.c')
-rw-r--r--src/character.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/character.c b/src/character.c
index e4b7e362add..70b7c476019 100644
--- a/src/character.c
+++ b/src/character.c
@@ -95,9 +95,9 @@ char_string (c, p)
if (c & CHAR_MODIFIER_MASK)
{
- /* As a character not less than 256 can't have modifier bits, we
- just ignore the bits. */
- if (SINGLE_BYTE_CHAR_P ((c & ~CHAR_MODIFIER_MASK)))
+ /* As an non-ASCII character can't have modifier bits, we just
+ ignore the bits. */
+ if (ASCII_CHAR_P ((c & ~CHAR_MODIFIER_MASK)))
{
/* For Meta, Shift, and Control modifiers, we need special care. */
if (c & CHAR_META)