From: Kenichi Handa Date: Fri, 21 Aug 1998 06:34:13 +0000 (+0000) Subject: (detect_coding_system): If detect_eol_type returns X-Git-Tag: emacs-20.4~1867 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=25b026986fec6aef4be19a52778adb16e6d771a0;p=emacs.git (detect_coding_system): If detect_eol_type returns CODING_EOL_INCONSISTENT, set eol_type to CODING_EOL_UNDECIDED correctly. --- 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) {