diff --git a/src/coding.c b/src/coding.c index c3f4e19d615..7d5512d2e09 100644 --- a/src/coding.c +++ b/src/coding.c @@ -2739,7 +2739,7 @@ detect_eol_type (src, src_bytes) } } - return (total ? eol_type : CODING_EOL_UNDECIDED); + return eol_type; } /* Detect how end-of-line of a text of length SRC_BYTES pointed by SRC