(decode_eol): Fix bug of converting CRLF to LF.
authorKenichi Handa <handa@m17n.org>
Wed, 5 Mar 1997 07:02:02 +0000 (07:02 +0000)
committerKenichi Handa <handa@m17n.org>
Wed, 5 Mar 1997 07:02:02 +0000 (07:02 +0000)
src/coding.c

index 929e7e6..277a9b1 100644 (file)
@@ -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;