diff options
| author | Kenichi Handa | 1997-03-05 07:02:02 +0000 |
|---|---|---|
| committer | Kenichi Handa | 1997-03-05 07:02:02 +0000 |
| commit | bfd9904870098f760405c8e278a87c0e6f6df860 (patch) | |
| tree | 8ddd6e01d02650f2c1093f48541ab2c33662d40c /src | |
| parent | 626665b47b57d06c4b517700fd507193872efcd1 (diff) | |
| download | emacs-bfd9904870098f760405c8e278a87c0e6f6df860.tar.gz emacs-bfd9904870098f760405c8e278a87c0e6f6df860.zip | |
(decode_eol): Fix bug of converting CRLF to LF.
Diffstat (limited to 'src')
| -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 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; |