Commit 3aef54f3 authored by Kenichi Handa's avatar Kenichi Handa

(detect_coding): Fix previous change.

parent 2070e3c1
......@@ -5427,7 +5427,7 @@ detect_coding (coding)
}
coding->head_ascii = src - (coding->source + coding->consumed);
if (coding->head_ascii == coding->src_bytes
if (coding->head_ascii < coding->src_bytes
|| detect_info.found)
{
enum coding_category category;
......
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