Mercurial > emacs
changeset 92406:c36bda0a03cc
(decode_coding_big5, produce_chars): Fix typos in last
change.
author | Andreas Schwab <schwab@suse.de> |
---|---|
date | Sun, 02 Mar 2008 19:56:45 +0000 |
parents | 39695256e402 |
children | 7ba52081e343 |
files | src/coding.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/coding.c Sun Mar 02 19:56:29 2008 +0000 +++ b/src/coding.c Sun Mar 02 19:56:45 2008 +0000 @@ -4264,7 +4264,7 @@ break; if (byte_after_cr >= 0) - c1 = byte_after_cr, byte_after_cr = -1; + c = byte_after_cr, byte_after_cr = -1; else ONE_MORE_BYTE (c); @@ -4272,7 +4272,7 @@ goto invalid_code; if (c < 0x80) { - if (eol_crlf && c1 == '\r') + if (eol_crlf && c == '\r') ONE_MORE_BYTE (byte_after_cr); charset = charset_roman; } @@ -6108,7 +6108,7 @@ } produced_chars = coding->consumed_char; while (src < src_end) - *dst += *src++; + *dst++ = *src++; } }