(decode_coding_iso_2022): Ignore ISO_CODE_SS2_7 (0x19)

in 8-bit encoding.
This commit is contained in:
Kenichi Handa 2009-12-14 01:20:29 +00:00
parent 2f1b7dc4a2
commit a63dba4250
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2009-12-14 Kenichi Handa <handa@m17n.org>
* coding.c (decode_coding_iso_2022): Ignore ISO_CODE_SS2_7 (0x19)
in 8-bit encoding.
2009-12-13 Pat Thoyts <patthoyts@users.sourceforge.net> (tiny change)
* xfns.c (x_create_tip_frame): Set the extended window manager hint for

View file

@ -3726,6 +3726,8 @@ decode_coding_iso_2022 (coding)
continue;
case ISO_single_shift_2_7:
if (! (CODING_ISO_FLAGS (coding) & CODING_ISO_FLAG_SEVEN_BITS))
goto invalid_code;
case ISO_single_shift_2:
if (! (CODING_ISO_FLAGS (coding) & CODING_ISO_FLAG_SINGLE_SHIFT))
goto invalid_code;