(shrink_decoding_region): Initialize eol_conversion.
This commit is contained in:
parent
8761730929
commit
fa46990ee0
1 changed files with 4 additions and 1 deletions
|
@ -4128,7 +4128,7 @@ shrink_decoding_region (beg, end, coding, str)
|
|||
if (!NILP (CHAR_TABLE_REF (translation_table, i)))
|
||||
break;
|
||||
if (i < 128)
|
||||
/* Some ASCII character should be tranlsated. We give up
|
||||
/* Some ASCII character should be translated. We give up
|
||||
shrinking. */
|
||||
return;
|
||||
}
|
||||
|
@ -4149,6 +4149,9 @@ shrink_decoding_region (beg, end, coding, str)
|
|||
endp_orig = endp = begp + *end - *beg;
|
||||
}
|
||||
|
||||
eol_conversion = (coding->eol_type == CODING_EOL_CR
|
||||
|| coding->eol_type == CODING_EOL_CRLF);
|
||||
|
||||
switch (coding->type)
|
||||
{
|
||||
case coding_type_sjis:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue