aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/coding.c')
-rw-r--r--src/coding.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/coding.c b/src/coding.c
index 02e59286dc8..f63d710ce9a 100644
--- a/src/coding.c
+++ b/src/coding.c
@@ -3166,7 +3166,7 @@ detect_coding_iso_2022 (struct coding_system *coding,
3166 if (inhibit_iso_escape_detection) 3166 if (inhibit_iso_escape_detection)
3167 break; 3167 break;
3168 single_shifting = 0; 3168 single_shifting = 0;
3169 rejected |= CATEGORY_MASK_ISO_7BIT; 3169 rejected |= CATEGORY_MASK_ISO_7BIT | CATEGORY_MASK_ISO_7_ELSE;
3170 if (CODING_ISO_FLAGS (&coding_categories[coding_category_iso_8_1]) 3170 if (CODING_ISO_FLAGS (&coding_categories[coding_category_iso_8_1])
3171 & CODING_ISO_FLAG_SINGLE_SHIFT) 3171 & CODING_ISO_FLAG_SINGLE_SHIFT)
3172 { 3172 {
@@ -3193,9 +3193,9 @@ detect_coding_iso_2022 (struct coding_system *coding,
3193 single_shifting = 0; 3193 single_shifting = 0;
3194 break; 3194 break;
3195 } 3195 }
3196 rejected |= CATEGORY_MASK_ISO_7BIT | CATEGORY_MASK_ISO_7_ELSE;
3196 if (c >= 0xA0) 3197 if (c >= 0xA0)
3197 { 3198 {
3198 rejected |= CATEGORY_MASK_ISO_7BIT | CATEGORY_MASK_ISO_7_ELSE;
3199 found |= CATEGORY_MASK_ISO_8_1; 3199 found |= CATEGORY_MASK_ISO_8_1;
3200 /* Check the length of succeeding codes of the range 3200 /* Check the length of succeeding codes of the range
3201 0xA0..0FF. If the byte length is even, we include 3201 0xA0..0FF. If the byte length is even, we include