changeset 29232:c0d6abd0b71b

(map_char_table): Ignore char-table entries for charsets eight-bit-control and eight-bit-graphic.
author Kenichi Handa <handa@m17n.org>
date Fri, 26 May 2000 07:26:53 +0000
parents 3c444d185d31
children a09ee5c15dcb
files src/fns.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/fns.c	Fri May 26 05:11:15 2000 +0000
+++ b/src/fns.c	Fri May 26 07:26:53 2000 +0000
@@ -2372,7 +2372,10 @@
       elt = XCHAR_TABLE (subtable)->contents[i];
       XSETFASTINT (indices[depth], i);
       charset = XFASTINT (indices[0]) - 128;
-      if (!CHARSET_DEFINED_P (charset))
+      if (depth == 0
+	  && (!CHARSET_DEFINED_P (charset)
+	      || charset == CHARSET_8_BIT_CONTROL
+	      || charset == CHARSET_8_BIT_GRAPHIC))
 	continue;
 
       if (SUB_CHAR_TABLE_P (elt))