Commit 72b718d7 authored by Kenichi Handa's avatar Kenichi Handa
Browse files

(SINGLE_BYTE_CHAR_P): Check if C is negative or not.

parent 9ced2cfe
......@@ -250,7 +250,7 @@ extern int charset_big5_2; /* Big5 Level 2 (Chinese Traditional) */
#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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment