diff options
| author | Kenichi Handa | 1998-08-15 01:28:14 +0000 |
|---|---|---|
| committer | Kenichi Handa | 1998-08-15 01:28:14 +0000 |
| commit | 89fa8b3669b752ea8ddc84dc57d2f848ee0480c3 (patch) | |
| tree | 512348f88004ce2597477596fea76b2b973b96cf /src/coding.c | |
| parent | 250134b38161a51081842c2c53d6ddd7816d9fb3 (diff) | |
| download | emacs-89fa8b3669b752ea8ddc84dc57d2f848ee0480c3.tar.gz emacs-89fa8b3669b752ea8ddc84dc57d2f848ee0480c3.zip | |
(coding_category_name): Fix the order of initial
contents.
(detect_coding_mask): Fix previous 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 3c69b07b971..e9227a2ac7b 100644 --- a/src/coding.c +++ b/src/coding.c | |||
| @@ -363,10 +363,10 @@ char *coding_category_name[CODING_CATEGORY_IDX_MAX] = { | |||
| 363 | "coding-category-iso-8-2", | 363 | "coding-category-iso-8-2", |
| 364 | "coding-category-iso-7-else", | 364 | "coding-category-iso-7-else", |
| 365 | "coding-category-iso-8-else", | 365 | "coding-category-iso-8-else", |
| 366 | "coding-category-ccl", | ||
| 366 | "coding-category-big5", | 367 | "coding-category-big5", |
| 367 | "coding-category-raw-text", | 368 | "coding-category-raw-text", |
| 368 | "coding-category-binary", | 369 | "coding-category-binary" |
| 369 | "coding-category-ccl" | ||
| 370 | }; | 370 | }; |
| 371 | 371 | ||
| 372 | /* Table of pointers to coding systems corresponding to each coding | 372 | /* Table of pointers to coding systems corresponding to each coding |
| @@ -3351,7 +3351,7 @@ detect_coding_mask (source, src_bytes, priorities, skip) | |||
| 3351 | mask = detect_coding_big5 (src, src_end); | 3351 | mask = detect_coding_big5 (src, src_end); |
| 3352 | else if (priorities[i] & try & CODING_CATEGORY_MASK_EMACS_MULE) | 3352 | else if (priorities[i] & try & CODING_CATEGORY_MASK_EMACS_MULE) |
| 3353 | mask = detect_coding_emacs_mule (src, src_end); | 3353 | mask = detect_coding_emacs_mule (src, src_end); |
| 3354 | else if (priorities[i] & CODING_CATEGORY_MASK_CCL) | 3354 | else if (priorities[i] & try & CODING_CATEGORY_MASK_CCL) |
| 3355 | mask = detect_coding_ccl (src, src_end); | 3355 | mask = detect_coding_ccl (src, src_end); |
| 3356 | else if (priorities[i] & CODING_CATEGORY_MASK_RAW_TEXT) | 3356 | else if (priorities[i] & CODING_CATEGORY_MASK_RAW_TEXT) |
| 3357 | mask = CODING_CATEGORY_MASK_RAW_TEXT; | 3357 | mask = CODING_CATEGORY_MASK_RAW_TEXT; |