diff options
Diffstat (limited to 'src/coding.c')
| -rw-r--r-- | src/coding.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/coding.c b/src/coding.c index 7c693b86b1c..7e00f4a60fa 100644 --- a/src/coding.c +++ b/src/coding.c | |||
| @@ -652,11 +652,12 @@ detect_coding_emacs_mule (src, src_end) | |||
| 652 | 652 | ||
| 653 | enum iso_code_class_type iso_code_class[256]; | 653 | enum iso_code_class_type iso_code_class[256]; |
| 654 | 654 | ||
| 655 | #define CHARSET_OK(idx, charset) \ | 655 | #define CHARSET_OK(idx, charset) \ |
| 656 | (coding_system_table[idx]->safe_charsets[charset] \ | 656 | (coding_system_table[idx] \ |
| 657 | || (CODING_SPEC_ISO_REQUESTED_DESIGNATION \ | 657 | && (coding_system_table[idx]->safe_charsets[charset] \ |
| 658 | (coding_system_table[idx], charset) \ | 658 | || (CODING_SPEC_ISO_REQUESTED_DESIGNATION \ |
| 659 | != CODING_SPEC_ISO_NO_REQUESTED_DESIGNATION)) | 659 | (coding_system_table[idx], charset) \ |
| 660 | != CODING_SPEC_ISO_NO_REQUESTED_DESIGNATION))) | ||
| 660 | 661 | ||
| 661 | #define SHIFT_OUT_OK(idx) \ | 662 | #define SHIFT_OUT_OK(idx) \ |
| 662 | (CODING_SPEC_ISO_INITIAL_DESIGNATION (coding_system_table[idx], 1) >= 0) | 663 | (CODING_SPEC_ISO_INITIAL_DESIGNATION (coding_system_table[idx], 1) >= 0) |