1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-03 02:31:03 -08:00

(shrink_decoding_region): Initialize eol_conversion.

This commit is contained in:
Dave Love 2000-05-26 13:42:03 +00:00
parent 8761730929
commit fa46990ee0

View file

@ -4128,7 +4128,7 @@ shrink_decoding_region (beg, end, coding, str)
if (!NILP (CHAR_TABLE_REF (translation_table, i))) if (!NILP (CHAR_TABLE_REF (translation_table, i)))
break; break;
if (i < 128) if (i < 128)
/* Some ASCII character should be tranlsated. We give up /* Some ASCII character should be translated. We give up
shrinking. */ shrinking. */
return; return;
} }
@ -4149,6 +4149,9 @@ shrink_decoding_region (beg, end, coding, str)
endp_orig = endp = begp + *end - *beg; endp_orig = endp = begp + *end - *beg;
} }
eol_conversion = (coding->eol_type == CODING_EOL_CR
|| coding->eol_type == CODING_EOL_CRLF);
switch (coding->type) switch (coding->type)
{ {
case coding_type_sjis: case coding_type_sjis: