changeset 33041:10bc9f620b67

(Foptimize_char_table): Fix arg for CHARSET_DIMENSION.
author Kenichi Handa <handa@m17n.org>
date Mon, 30 Oct 2000 01:14:06 +0000
parents 307c229d44bb
children 0adfe4160770
files src/fns.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/fns.c	Sun Oct 29 21:02:58 2000 +0000
+++ b/src/fns.c	Mon Oct 30 01:14:06 2000 +0000
@@ -2418,7 +2418,7 @@
       elt = XCHAR_TABLE (table)->contents[i];
       if (!SUB_CHAR_TABLE_P (elt))
 	continue;
-      dim = CHARSET_DIMENSION (i);
+      dim = CHARSET_DIMENSION (i - 128);
       if (dim == 2)
 	for (j = 32; j < SUB_CHAR_TABLE_ORDINARY_SLOTS; j++)
 	  optimize_sub_char_table (XCHAR_TABLE (elt)->contents + j, dim);