Commit 928a85c1 authored by Ken Raeburn's avatar Ken Raeburn
Browse files

* coding.c (setup_coding_system): Don't do any designation based on reg_bits if

charset is not yet defined.
parent 27009a49
2001-07-17 Ken Raeburn <raeburn@gnu.org>
* coding.c (setup_coding_system): Don't do any designation based
on reg_bits if charset is not yet defined.
2001-07-17 Gerd Moellmann <gerd@gnu.org>
* keyboard.c (KBD_BUFFER_SIZE) [!HAVE_WINDOW_SYSTEM]: Increase
......
......@@ -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))
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment