Mercurial > emacs
changeset 29299:b33b38d81020
(detect_coding_iso2022): Fix code for checking
CODING_CATEGORY_MASK_ISO_8_2.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Tue, 30 May 2000 07:40:59 +0000 |
parents | 523600d09bf8 |
children | 505deeadeb1f |
files | src/coding.c |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/coding.c Tue May 30 07:39:59 2000 +0000 +++ b/src/coding.c Tue May 30 07:40:59 2000 +0000 @@ -987,8 +987,6 @@ } else { - unsigned char *src_begin = src; - mask &= ~(CODING_CATEGORY_MASK_ISO_7BIT | CODING_CATEGORY_MASK_ISO_7_ELSE); mask_found |= CODING_CATEGORY_MASK_ISO_8_1; @@ -999,7 +997,7 @@ if (!single_shifting && mask & CODING_CATEGORY_MASK_ISO_8_2) { - int i = 0; + int i = 1; while (src < src_end) { ONE_MORE_BYTE (c);