From b3727f34192d276b33c4405e569944899133fbc0 Mon Sep 17 00:00:00 2001 From: tomo Date: Sun, 5 Sep 1999 14:38:06 +0000 Subject: [PATCH] (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h. (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'. --- src/mule-charset.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/mule-charset.h b/src/mule-charset.h index 1fab443..a8dcad9 100644 --- a/src/mule-charset.h +++ b/src/mule-charset.h @@ -602,11 +602,7 @@ REP_BYTES_BY_FIRST_BYTE (int fb) /* Dealing with characters */ /************************************************************************/ -/* Is this character represented by more than one byte in a string? */ - -#define CHAR_MULTIBYTE_P(c) ((c) >= 0x80) - -#define CHAR_ASCII_P(c) (!CHAR_MULTIBYTE_P (c)) +#define CHAR_ASCII_P(ch) ((ch) <= 0x7F) /* The bit fields of character are divided into 3 parts: FIELD1(5bits):FIELD2(7bits):FIELD3(7bits) */ -- 1.7.10.4