(detect_coding): Fix previous change.
(detect_coding_system): Likewise.
This commit is contained in:
parent
4a485df8be
commit
c006c0c8cc
1 changed files with 6 additions and 4 deletions
10
src/coding.c
10
src/coding.c
|
@ -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++;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue