From 25b026986fec6aef4be19a52778adb16e6d771a0 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Fri, 21 Aug 1998 06:34:13 +0000 Subject: [PATCH] (detect_coding_system): If detect_eol_type returns CODING_EOL_INCONSISTENT, set eol_type to CODING_EOL_UNDECIDED correctly. --- src/coding.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/coding.c b/src/coding.c index f44a0a09d40..6b105b94a9c 100644 --- a/src/coding.c +++ b/src/coding.c @@ -4611,7 +4611,7 @@ detect_coding_system (src, src_bytes, highest) 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) { -- 2.39.2