Mercurial > emacs
changeset 23719:5802b0df4800
(SINGLE_BYTE_CHAR_P): Check if C is negative or not.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Mon, 16 Nov 1998 06:26:27 +0000 |
parents | bdbaad08e6a2 |
children | 3371f3bd2057 |
files | src/charset.h |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/charset.h Mon Nov 16 06:26:03 1998 +0000 +++ b/src/charset.h Mon Nov 16 06:26:27 1998 +0000 @@ -250,7 +250,7 @@ #define GENERIC_COMPOSITION_CHAR (GLYPH_MASK_CHAR) /* 1 if C is an ASCII character, else 0. */ -#define SINGLE_BYTE_CHAR_P(c) ((c) < 0x100) +#define SINGLE_BYTE_CHAR_P(c) ((c) >= 0 && (c) < 0x100) /* 1 if C is an composite character, else 0. */ #define COMPOSITE_CHAR_P(c) ((c) >= MIN_CHAR_COMPOSITION)