diff options
| author | Kenichi Handa <handa@m17n.org> | 1998-08-21 06:34:13 +0000 |
|---|---|---|
| committer | Kenichi Handa <handa@m17n.org> | 1998-08-21 06:34:13 +0000 |
| commit | 25b026986fec6aef4be19a52778adb16e6d771a0 (patch) | |
| tree | 459393df027ef683bce534d5d7715f2b6daf9cf1 /src/coding.c | |
| parent | 50b9d07d8cc5c74ed1cb986c0d6b84f97a7a3865 (diff) | |
| download | emacs-25b026986fec6aef4be19a52778adb16e6d771a0.tar.gz | |
(detect_coding_system): If detect_eol_type returns
CODING_EOL_INCONSISTENT, set eol_type to CODING_EOL_UNDECIDED
correctly.
Diffstat (limited to 'src/coding.c')
| -rw-r--r-- | src/coding.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |
