summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)