Mercurial > emacs
diff src/coding.c @ 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 | ac788ee31080 |
| children | 45c36d636f66 |
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) {
