diff options
| author | Andreas Schwab | 2008-03-02 19:56:45 +0000 |
|---|---|---|
| committer | Andreas Schwab | 2008-03-02 19:56:45 +0000 |
| commit | 14daee73e5eeb6977357e5d5bc0a05871a314d53 (patch) | |
| tree | 9713ff0cb7f823ab7e4b33b8d53f016a8c0f101d /src/coding.c | |
| parent | 480a77b5434c373337299fbd112be46439120f62 (diff) | |
| download | emacs-14daee73e5eeb6977357e5d5bc0a05871a314d53.tar.gz emacs-14daee73e5eeb6977357e5d5bc0a05871a314d53.zip | |
(decode_coding_big5, produce_chars): Fix typos in last
change.
Diffstat (limited to 'src/coding.c')
| -rw-r--r-- | src/coding.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/coding.c b/src/coding.c index 525764d693d..d021a173a78 100644 --- a/src/coding.c +++ b/src/coding.c | |||
| @@ -4264,7 +4264,7 @@ decode_coding_big5 (coding) | |||
| 4264 | break; | 4264 | break; |
| 4265 | 4265 | ||
| 4266 | if (byte_after_cr >= 0) | 4266 | if (byte_after_cr >= 0) |
| 4267 | c1 = byte_after_cr, byte_after_cr = -1; | 4267 | c = byte_after_cr, byte_after_cr = -1; |
| 4268 | else | 4268 | else |
| 4269 | ONE_MORE_BYTE (c); | 4269 | ONE_MORE_BYTE (c); |
| 4270 | 4270 | ||
| @@ -4272,7 +4272,7 @@ decode_coding_big5 (coding) | |||
| 4272 | goto invalid_code; | 4272 | goto invalid_code; |
| 4273 | if (c < 0x80) | 4273 | if (c < 0x80) |
| 4274 | { | 4274 | { |
| 4275 | if (eol_crlf && c1 == '\r') | 4275 | if (eol_crlf && c == '\r') |
| 4276 | ONE_MORE_BYTE (byte_after_cr); | 4276 | ONE_MORE_BYTE (byte_after_cr); |
| 4277 | charset = charset_roman; | 4277 | charset = charset_roman; |
| 4278 | } | 4278 | } |
| @@ -6108,7 +6108,7 @@ produce_chars (coding, translation_table, last_block) | |||
| 6108 | } | 6108 | } |
| 6109 | produced_chars = coding->consumed_char; | 6109 | produced_chars = coding->consumed_char; |
| 6110 | while (src < src_end) | 6110 | while (src < src_end) |
| 6111 | *dst += *src++; | 6111 | *dst++ = *src++; |
| 6112 | } | 6112 | } |
| 6113 | } | 6113 | } |
| 6114 | 6114 | ||