aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenichi Handa1997-03-05 07:02:02 +0000
committerKenichi Handa1997-03-05 07:02:02 +0000
commitbfd9904870098f760405c8e278a87c0e6f6df860 (patch)
tree8ddd6e01d02650f2c1093f48541ab2c33662d40c /src
parent626665b47b57d06c4b517700fd507193872efcd1 (diff)
downloademacs-bfd9904870098f760405c8e278a87c0e6f6df860.tar.gz
emacs-bfd9904870098f760405c8e278a87c0e6f6df860.zip
(decode_eol): Fix bug of converting CRLF to LF.
Diffstat (limited to 'src')
-rw-r--r--src/coding.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/coding.c b/src/coding.c
index 929e7e666bb..277a9b16678 100644
--- a/src/coding.c
+++ b/src/coding.c
@@ -1872,7 +1872,7 @@ decode_eol (coding, source, destination, src_bytes, dst_bytes, consumed)
1872 ONE_MORE_BYTE (c); 1872 ONE_MORE_BYTE (c);
1873 if (c != '\n') 1873 if (c != '\n')
1874 *dst++ = '\r'; 1874 *dst++ = '\r';
1875 1875 *dst++ = c;
1876 } 1876 }
1877 else 1877 else
1878 *dst++ = c; 1878 *dst++ = c;