diff options
| author | Kenichi Handa | 2003-09-28 23:54:27 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2003-09-28 23:54:27 +0000 |
| commit | cc6dfd2abc67ec3452a11b62b0c2626a1ce5208e (patch) | |
| tree | 0ad4c4b50283b951bff17f45913c8676ef447bf8 /src | |
| parent | 851a306284e05e3d482a2aec406ac3791d53d914 (diff) | |
| download | emacs-cc6dfd2abc67ec3452a11b62b0c2626a1ce5208e.tar.gz emacs-cc6dfd2abc67ec3452a11b62b0c2626a1ce5208e.zip | |
(char_string): Use ASCII_CHAR_P instead of SINGLE_BYTE_CHAR_P.
Diffstat (limited to 'src')
| -rw-r--r-- | src/character.c | 6 |
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) | |||
| 95 | 95 | ||
| 96 | if (c & CHAR_MODIFIER_MASK) | 96 | if (c & CHAR_MODIFIER_MASK) |
| 97 | { | 97 | { |
| 98 | /* As a character not less than 256 can't have modifier bits, we | 98 | /* As an non-ASCII character can't have modifier bits, we just |
| 99 | just ignore the bits. */ | 99 | ignore the bits. */ |
| 100 | if (SINGLE_BYTE_CHAR_P ((c & ~CHAR_MODIFIER_MASK))) | 100 | if (ASCII_CHAR_P ((c & ~CHAR_MODIFIER_MASK))) |
| 101 | { | 101 | { |
| 102 | /* For Meta, Shift, and Control modifiers, we need special care. */ | 102 | /* For Meta, Shift, and Control modifiers, we need special care. */ |
| 103 | if (c & CHAR_META) | 103 | if (c & CHAR_META) |