comparison src/coding.c @ 30263:b8083f5b4b7c

(setup_coding_system): Don't override the explicitly specified designations.
author Kenichi Handa <handa@m17n.org>
date Tue, 18 Jul 2000 04:32:08 +0000
parents 35aec8514228
children 14a9937df1f5
comparison
equal deleted inserted replaced
30262:45c7724b3cbe 30263:b8083f5b4b7c
3139 } 3139 }
3140 3140
3141 if (reg_bits) 3141 if (reg_bits)
3142 for (charset = 0; charset <= MAX_CHARSET; charset++) 3142 for (charset = 0; charset <= MAX_CHARSET; charset++)
3143 { 3143 {
3144 if (CHARSET_VALID_P (charset)) 3144 if (CHARSET_VALID_P (charset)
3145 && (CODING_SPEC_ISO_REQUESTED_DESIGNATION (coding, charset)
3146 == CODING_SPEC_ISO_NO_REQUESTED_DESIGNATION))
3145 { 3147 {
3146 /* There exist some default graphic registers to be 3148 /* There exist some default graphic registers to be
3147 used CHARSET. */ 3149 used by CHARSET. */
3148 3150
3149 /* We had better avoid designating a charset of 3151 /* We had better avoid designating a charset of
3150 CHARS96 to REG 0 as far as possible. */ 3152 CHARS96 to REG 0 as far as possible. */
3151 if (CHARSET_CHARS (charset) == 96) 3153 if (CHARSET_CHARS (charset) == 96)
3152 CODING_SPEC_ISO_REQUESTED_DESIGNATION (coding, charset) 3154 CODING_SPEC_ISO_REQUESTED_DESIGNATION (coding, charset)