diff options
| author | Kenichi Handa | 1998-11-16 06:26:27 +0000 |
|---|---|---|
| committer | Kenichi Handa | 1998-11-16 06:26:27 +0000 |
| commit | 72b718d76538ad0ab6d52dc5abe628a7943967e9 (patch) | |
| tree | 6281c737a5873f5c69d3057ab12170d7525388fd | |
| parent | 9ced2cfe0aeb6680b452638db781cae4107c4986 (diff) | |
| download | emacs-72b718d76538ad0ab6d52dc5abe628a7943967e9.tar.gz emacs-72b718d76538ad0ab6d52dc5abe628a7943967e9.zip | |
(SINGLE_BYTE_CHAR_P): Check if C is negative or not.
| -rw-r--r-- | src/charset.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/charset.h b/src/charset.h index 957cb4afdb9..44955fa3ac4 100644 --- a/src/charset.h +++ b/src/charset.h | |||
| @@ -250,7 +250,7 @@ extern int charset_big5_2; /* Big5 Level 2 (Chinese Traditional) */ | |||
| 250 | #define GENERIC_COMPOSITION_CHAR (GLYPH_MASK_CHAR) | 250 | #define GENERIC_COMPOSITION_CHAR (GLYPH_MASK_CHAR) |
| 251 | 251 | ||
| 252 | /* 1 if C is an ASCII character, else 0. */ | 252 | /* 1 if C is an ASCII character, else 0. */ |
| 253 | #define SINGLE_BYTE_CHAR_P(c) ((c) < 0x100) | 253 | #define SINGLE_BYTE_CHAR_P(c) ((c) >= 0 && (c) < 0x100) |
| 254 | /* 1 if C is an composite character, else 0. */ | 254 | /* 1 if C is an composite character, else 0. */ |
| 255 | #define COMPOSITE_CHAR_P(c) ((c) >= MIN_CHAR_COMPOSITION) | 255 | #define COMPOSITE_CHAR_P(c) ((c) >= MIN_CHAR_COMPOSITION) |
| 256 | 256 | ||