aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/coding.c')
-rw-r--r--src/coding.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/coding.c b/src/coding.c
index 60bfed358a7..2417c2558b8 100644
--- a/src/coding.c
+++ b/src/coding.c
@@ -2026,7 +2026,6 @@ encode_coding_iso2022 (coding, source, destination, src_bytes, dst_bytes)
2026 DECODE_CHARACTER_DIMENSION1 (charset_alt, c1); \ 2026 DECODE_CHARACTER_DIMENSION1 (charset_alt, c1); \
2027 else \ 2027 else \
2028 DECODE_CHARACTER_DIMENSION2 (charset_alt, c1, c2); \ 2028 DECODE_CHARACTER_DIMENSION2 (charset_alt, c1, c2); \
2029 coding->produced_char++; \
2030 } while (0) 2029 } while (0)
2031 2030
2032#define ENCODE_SJIS_BIG5_CHARACTER(charset, c1, c2) \ 2031#define ENCODE_SJIS_BIG5_CHARACTER(charset, c1, c2) \
@@ -3838,7 +3837,7 @@ code_convert_region (from, to, coding, encodep, adjust)
3838 to = from + len; 3837 to = from + len;
3839 } 3838 }
3840 from_byte = CHAR_TO_BYTE (from); to_byte = CHAR_TO_BYTE (to); 3839 from_byte = CHAR_TO_BYTE (from); to_byte = CHAR_TO_BYTE (to);
3841 len_byte = from_byte - to_byte; 3840 len_byte = to_byte - from_byte;
3842 3841
3843 if (! encodep && CODING_REQUIRE_DETECTION (coding)) 3842 if (! encodep && CODING_REQUIRE_DETECTION (coding))
3844 { 3843 {