From 0351df3190d30432084086aefcbe2756e4e2f860 Mon Sep 17 00:00:00 2001 From: tomo Date: Tue, 1 Jul 2003 10:27:07 +0000 Subject: [PATCH] (charset_code_point): Fix problem when searching in mother CCS fails with `defined_only' mode. --- src/mule-charset.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mule-charset.c b/src/mule-charset.c index 8c8604e..449e4d7 100644 --- a/src/mule-charset.c +++ b/src/mule-charset.c @@ -1159,6 +1159,8 @@ charset_code_point (Lisp_Object charset, Emchar ch, int defined_only) exit (-1); } } + else if (defined_only) + return -1; else if ( ( XCHARSET_FINAL (charset) >= '0' ) && ( XCHARSET_MIN_CODE (charset) == 0 ) /* -- 1.7.10.4