# HG changeset patch # User Dave Love # Date 959348523 0 # Node ID c748b4b1c785cc105437cf56cbfdaefe534c8bae # Parent d6236052de661ff4f3b85989ad4f83c5cea38e43 (shrink_decoding_region): Initialize eol_conversion. diff -r d6236052de66 -r c748b4b1c785 src/coding.c --- a/src/coding.c Fri May 26 13:06:25 2000 +0000 +++ b/src/coding.c Fri May 26 13:42:03 2000 +0000 @@ -4128,7 +4128,7 @@ 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 @@ 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: