From ed09a18b8446614c8bc5c9918f208c9551a9fe96 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Thu, 15 Aug 2002 02:30:08 +0000 Subject: *** empty log message *** --- src/ChangeLog | 25 +++++++++++++++++++++++++ src/chartab.c | 2 +- 2 files changed, 26 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/ChangeLog b/src/ChangeLog index 3cade67462..8e97ee3bd3 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,28 @@ +2002-08-15 Kenichi Handa + + * fontset.c (fontset_add): Make the type `int'. + (fontset_id_valid_p): Define it if FONTSET_DEBUG is defined. + + * character.c (unibyte_char_to_multibyte): Refer to + charset_unibyte, not charset_primary. + (multibyte_char_to_unibyte): Likewise. + (Funibyte_char_to_multibyte): Likewise. + + * charset.h: (charset_unibyte): Extern it instead of + charset_primary. + + * charset.c (charset_unibyte): Renamed from charset_primary. + (Funibyte_charset): Renamed from Fprimary_charset. + (Fset_unibyte_charset): Renamed from Fset_primary_charset. + (syms_of_charset): Adjusted for the above changes. + + * w32term.c (x_produce_glyphs): Use ASCII_CHAR_P, not + SINGLE_BYTE_CHAR_P. Fix the logic of handling non-ASCII char when + it->multibyte_p is zero. + + * lisp.h (nonascii_insert_offset, Vnonascii_translation_table): + Extern deleted. + 2002-08-08 Kenichi Handa * coding.c (Fdefine_coding_system_internal): Fix category setting diff --git a/src/chartab.c b/src/chartab.c index 3f9a9b8e00..919331f787 100644 --- a/src/chartab.c +++ b/src/chartab.c @@ -430,7 +430,7 @@ sub_char_table_set_range (table, depth, min_char, from, to, val) { int max_char = min_char + chartab_chars[depth] - 1; - if (depth == 3 || from <= min_char && to >= max_char) + if (depth == 3 || (from <= min_char && to >= max_char)) *table = val; else { -- cgit v1.2.3