aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenichi Handa2000-11-20 11:40:45 +0000
committerKenichi Handa2000-11-20 11:40:45 +0000
commit3bb7b08b1aa13af66127781e9c5f78998b8a093b (patch)
tree5e7ce34f5c71d1dc31b09d943346b3fc085ce217 /src
parent2bcf37149c33b11a737dada44f7ef43ad77318bc (diff)
downloademacs-3bb7b08b1aa13af66127781e9c5f78998b8a093b.tar.gz
emacs-3bb7b08b1aa13af66127781e9c5f78998b8a093b.zip
(get_new_private_charset_id): Don't limit CHARSET_ID by WIDTH.
Diffstat (limited to 'src')
-rw-r--r--src/charset.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/charset.c b/src/charset.c
index cac540112a5..58123244486 100644
--- a/src/charset.c
+++ b/src/charset.c
@@ -597,17 +597,13 @@ get_new_private_charset_id (dimension, width)
597 597
598 if (dimension == 1) 598 if (dimension == 1)
599 { 599 {
600 if (width == 1) 600 from = LEADING_CODE_EXT_11;
601 from = LEADING_CODE_EXT_11, to = LEADING_CODE_EXT_12; 601 to = LEADING_CODE_EXT_21;
602 else
603 from = LEADING_CODE_EXT_12, to = LEADING_CODE_EXT_21;
604 } 602 }
605 else 603 else
606 { 604 {
607 if (width == 1) 605 from = LEADING_CODE_EXT_21;
608 from = LEADING_CODE_EXT_21, to = LEADING_CODE_EXT_22; 606 to = LEADING_CODE_EXT_MAX + 1;
609 else
610 from = LEADING_CODE_EXT_22, to = LEADING_CODE_EXT_MAX + 1;
611 } 607 }
612 608
613 for (charset = from; charset < to; charset++) 609 for (charset = from; charset < to; charset++)