summaryrefslogtreecommitdiff
path: root/src/coding.c
diff options
context:
space:
mode:
authorKenichi Handa <handa@m17n.org>1997-03-05 07:02:02 +0000
committerKenichi Handa <handa@m17n.org>1997-03-05 07:02:02 +0000
commit88fe3bbd6d2adce32f0a116aec91965063371dba (patch)
treed3e98ba30c256877b022dace18b1bd8c79ad5434 /src/coding.c
parentbb11924f23f27401f7fa060abce6d2f6d81a0067 (diff)
downloademacs-88fe3bbd6d2adce32f0a116aec91965063371dba.tar.gz
(decode_eol): Fix bug of converting CRLF to LF.
Diffstat (limited to 'src/coding.c')
-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)
ONE_MORE_BYTE (c);
if (c != '\n')
*dst++ = '\r';
-
+ *dst++ = c;
}
else
*dst++ = c;