]> git.eshelyaron.com Git - emacs.git/commitdiff
(decode_coding_big5, produce_chars): Fix typos in last
authorAndreas Schwab <schwab@suse.de>
Sun, 2 Mar 2008 19:56:45 +0000 (19:56 +0000)
committerAndreas Schwab <schwab@suse.de>
Sun, 2 Mar 2008 19:56:45 +0000 (19:56 +0000)
change.

src/ChangeLog
src/coding.c

index ad01ac41f1a171941dec510cba3efbf39273443f..82b9d08657b10a2d1be9f853160578e07e3c4dd2 100644 (file)
@@ -1,3 +1,8 @@
+2008-03-02  Andreas Schwab  <schwab@suse.de>
+
+       * coding.c (decode_coding_big5, produce_chars): Fix typos in last
+       change.
+
 2008-03-02  Kentaro Ohkouchi  <nanasess@fsm.ne.jp>
 
        * gnu.h: New icon.
index 525764d693d2511805178f3b968e3426a68ac10d..d021a173a78721d25917d2404219136476baf79d 100644 (file)
@@ -4264,7 +4264,7 @@ decode_coding_big5 (coding)
        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 @@ decode_coding_big5 (coding)
        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 @@ produce_chars (coding, translation_table, last_block)
            }
          produced_chars = coding->consumed_char;
          while (src < src_end)
-           *dst += *src++;
+           *dst++ = *src++;
        }
     }