Commit e17de821 authored by Kenichi Handa's avatar Kenichi Handa

(detect_coding_iso2022): Fix code for checking

CODING_CATEGORY_MASK_ISO_8_2.
parent d0555360
......@@ -987,8 +987,6 @@ detect_coding_iso2022 (src, src_end)
}
else
{
unsigned char *src_begin = src;
mask &= ~(CODING_CATEGORY_MASK_ISO_7BIT
| CODING_CATEGORY_MASK_ISO_7_ELSE);
mask_found |= CODING_CATEGORY_MASK_ISO_8_1;
......@@ -999,7 +997,7 @@ detect_coding_iso2022 (src, src_end)
if (!single_shifting
&& mask & CODING_CATEGORY_MASK_ISO_8_2)
{
int i = 0;
int i = 1;
while (src < src_end)
{
ONE_MORE_BYTE (c);
......
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