# HG changeset patch # User Kenichi Handa # Date 895715332 0 # Node ID 917e237b5e65d206a6dc1ddba74ab0b175f8cb1e # Parent 8cdacecac78b32c4c2a006f9ae6e8c989aa77620 (shrink_decoding_region): No short cut by coding->heading_ascii if eol conversion is necessary. diff -r 8cdacecac78b -r 917e237b5e65 src/coding.c --- a/src/coding.c Thu May 21 01:48:52 1998 +0000 +++ b/src/coding.c Thu May 21 01:48:52 1998 +0000 @@ -3764,7 +3764,9 @@ return; } - if (coding->heading_ascii >= 0) + eol_conversion = (coding->eol_type != CODING_EOL_LF); + + if ((! eol_conversion) && (coding->heading_ascii >= 0)) /* Detection routine has already found how much we can skip at the head. */ *beg += coding->heading_ascii; @@ -3780,8 +3782,6 @@ endp_orig = endp = begp + *end - *beg; } - eol_conversion = (coding->eol_type != CODING_EOL_LF); - switch (coding->type) { case coding_type_emacs_mule: