From: tomo Date: Tue, 1 Jul 2003 10:27:07 +0000 (+0000) Subject: (charset_code_point): Fix problem when searching in mother CCS fails X-Git-Tag: r21-4-11-chise-0_21-jx^2~95 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0351df3190d30432084086aefcbe2756e4e2f860;p=chise%2Fxemacs-chise.git- (charset_code_point): Fix problem when searching in mother CCS fails with `defined_only' mode. --- 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 ) /*