From a5083fe6b49ca3e907461ed5adac1943d9d3a4fc Mon Sep 17 00:00:00 2001 From: tomo Date: Thu, 27 Dec 2001 17:47:01 +0000 Subject: [PATCH] (range_charset_code_point): Fixed. --- src/mule-charset.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mule-charset.c b/src/mule-charset.c index ee90d44..b11d06e 100644 --- a/src/mule-charset.c +++ b/src/mule-charset.c @@ -1152,7 +1152,8 @@ range_charset_code_point (Lisp_Object charset, Emchar ch) + XCHARSET_BYTE_OFFSET (charset)) << 8) | (d % XCHARSET_CHARS (charset) + XCHARSET_BYTE_OFFSET (charset)); } - else if (XCHARSET_CODE_OFFSET (charset) == 0) + else if ( (XCHARSET_CODE_OFFSET (charset) == 0) || + (XCHARSET_CODE_OFFSET (charset) == XCHARSET_MIN_CODE (charset)) ) { if (XCHARSET_DIMENSION (charset) == 1) { -- 1.7.10.4