(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)))
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: