Commit c006c0c8 authored by Kenichi Handa's avatar Kenichi Handa
Browse files

(detect_coding): Fix previous change.

(detect_coding_system): Likewise.
parent 4a485df8
......@@ -5830,9 +5830,10 @@ detect_coding (coding)
if (eight_bit_found)
break;
}
coding->head_ascii++;
if (! eight_bit_found)
coding->head_ascii++;
}
else
else if (! eight_bit_found)
coding->head_ascii++;
}
......@@ -7707,9 +7708,10 @@ detect_coding_system (src, src_chars, src_bytes, highest, multibytep,
if (eight_bit_found)
break;
}
coding.head_ascii++;
if (! eight_bit_found)
coding.head_ascii++;
}
else
else if (! eight_bit_found)
coding.head_ascii++;
}
......
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