aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.c
diff options
context:
space:
mode:
authorDave Love2000-05-26 13:42:03 +0000
committerDave Love2000-05-26 13:42:03 +0000
commitfa46990ee09bec1686b19fa8562c376cc2238598 (patch)
tree44d102e12aaa2f2ec547dfac0633e38c1d60700a /src/coding.c
parent876173092900c3eab078918420c3151d7c2ae706 (diff)
downloademacs-fa46990ee09bec1686b19fa8562c376cc2238598.tar.gz
emacs-fa46990ee09bec1686b19fa8562c376cc2238598.zip
(shrink_decoding_region): Initialize eol_conversion.
Diffstat (limited to 'src/coding.c')
-rw-r--r--src/coding.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/coding.c b/src/coding.c
index 1da6a64bb45..64d7e2afed1 100644
--- a/src/coding.c
+++ b/src/coding.c
@@ -4128,7 +4128,7 @@ shrink_decoding_region (beg, end, coding, str)
4128 if (!NILP (CHAR_TABLE_REF (translation_table, i))) 4128 if (!NILP (CHAR_TABLE_REF (translation_table, i)))
4129 break; 4129 break;
4130 if (i < 128) 4130 if (i < 128)
4131 /* Some ASCII character should be tranlsated. We give up 4131 /* Some ASCII character should be translated. We give up
4132 shrinking. */ 4132 shrinking. */
4133 return; 4133 return;
4134 } 4134 }
@@ -4149,6 +4149,9 @@ shrink_decoding_region (beg, end, coding, str)
4149 endp_orig = endp = begp + *end - *beg; 4149 endp_orig = endp = begp + *end - *beg;
4150 } 4150 }
4151 4151
4152 eol_conversion = (coding->eol_type == CODING_EOL_CR
4153 || coding->eol_type == CODING_EOL_CRLF);
4154
4152 switch (coding->type) 4155 switch (coding->type)
4153 { 4156 {
4154 case coding_type_sjis: 4157 case coding_type_sjis: