# HG changeset patch # User Andreas Schwab # Date 1204487805 0 # Node ID c36bda0a03ccdffced21922a43a28f5c82824318 # Parent 39695256e402da5f23c18c761cda193dcd1caadc (decode_coding_big5, produce_chars): Fix typos in last change. diff -r 39695256e402 -r c36bda0a03cc src/coding.c --- 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++; } }