* coding.c (setup_coding_system): Don't do any designation based on reg_bits if
charset is not yet defined.
This commit is contained in:
parent
27009a49b5
commit
928a85c1ba
2 changed files with 6 additions and 1 deletions
|
@ -3638,7 +3638,7 @@ setup_coding_system (coding_system, coding)
|
|||
if (reg_bits)
|
||||
for (charset = 0; charset <= MAX_CHARSET; charset++)
|
||||
{
|
||||
if (CHARSET_VALID_P (charset)
|
||||
if (CHARSET_DEFINED_P (charset)
|
||||
&& (CODING_SPEC_ISO_REQUESTED_DESIGNATION (coding, charset)
|
||||
== CODING_SPEC_ISO_NO_REQUESTED_DESIGNATION))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue