changeset 23082:910740dcedb5

(detect_coding_system): If detect_eol_type returns CODING_EOL_INCONSISTENT, set eol_type to CODING_EOL_UNDECIDED correctly.
author Kenichi Handa <handa@m17n.org>
date Fri, 21 Aug 1998 06:34:13 +0000
parents 2289cc88fda2
children 2dea437fe88a
files src/coding.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/coding.c	Wed Aug 19 22:20:12 1998 +0000
+++ b/src/coding.c	Fri Aug 21 06:34:13 1998 +0000
@@ -4611,7 +4611,7 @@
   coding_mask = detect_coding_mask (src, src_bytes, NULL, &dummy);
   eol_type  = detect_eol_type (src, src_bytes, &dummy);
   if (eol_type == CODING_EOL_INCONSISTENT)
-    eol_type == CODING_EOL_UNDECIDED;
+    eol_type = CODING_EOL_UNDECIDED;
 
   if (!coding_mask)
     {