Mercurial > emacs
changeset 29247:c748b4b1c785
(shrink_decoding_region): Initialize eol_conversion.
author | Dave Love <fx@gnu.org> |
---|---|
date | Fri, 26 May 2000 13:42:03 +0000 |
parents | d6236052de66 |
children | 3401d9822c14 |
files | src/coding.c |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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: