(shrink_encoding_region): If eol_type is not yet decided and
system_eol_type is not LF, don't shrink.
This commit is contained in:
parent
9642847f36
commit
73ec0f8900
2 changed files with 4 additions and 0 deletions
|
@ -5256,6 +5256,8 @@ shrink_encoding_region (beg, end, coding, str)
|
|||
if (coding->type == coding_type_ccl
|
||||
|| coding->eol_type == CODING_EOL_CRLF
|
||||
|| coding->eol_type == CODING_EOL_CR
|
||||
|| (coding->eol_type == CODING_EOL_UNDECIDED
|
||||
&& system_eol_type != CODING_EOL_LF)
|
||||
|| (coding->cmp_data && coding->cmp_data->used > 0))
|
||||
{
|
||||
/* We can't skip any data. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue