(charset_code_point): Fix problem when searching in mother CCS fails
authortomo <tomo>
Tue, 1 Jul 2003 10:27:07 +0000 (10:27 +0000)
committertomo <tomo>
Tue, 1 Jul 2003 10:27:07 +0000 (10:27 +0000)
with `defined_only' mode.

src/mule-charset.c

index 8c8604e..449e4d7 100644 (file)
@@ -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 )
               /*