]> git.eshelyaron.com Git - emacs.git/commitdiff
(get_new_private_charset_id): Don't limit CHARSET_ID by WIDTH.
authorKenichi Handa <handa@m17n.org>
Mon, 20 Nov 2000 11:40:45 +0000 (11:40 +0000)
committerKenichi Handa <handa@m17n.org>
Mon, 20 Nov 2000 11:40:45 +0000 (11:40 +0000)
src/charset.c

index cac540112a52feee743ed36ea654f337f856b759..58123244486e5cffed6fa9370e78ec587f915596 100644 (file)
@@ -597,17 +597,13 @@ get_new_private_charset_id (dimension, width)
 
   if (dimension == 1)
     {
-      if (width == 1)
-       from = LEADING_CODE_EXT_11, to = LEADING_CODE_EXT_12;
-      else
-       from = LEADING_CODE_EXT_12, to = LEADING_CODE_EXT_21;
+      from = LEADING_CODE_EXT_11;
+      to = LEADING_CODE_EXT_21;
     }
   else
     {
-      if (width == 1)
-       from = LEADING_CODE_EXT_21, to = LEADING_CODE_EXT_22;
-      else
-       from = LEADING_CODE_EXT_22, to = LEADING_CODE_EXT_MAX + 1;
+      from = LEADING_CODE_EXT_21;
+      to = LEADING_CODE_EXT_MAX + 1;
     }
 
   for (charset = from; charset < to; charset++)