changeset 23027:0dc823b2335f

(coding_category_name): Fix the order of initial contents. (detect_coding_mask): Fix previous change.
author Kenichi Handa <handa@m17n.org>
date Sat, 15 Aug 1998 01:28:14 +0000
parents 3532d5c73fdf
children 2e93e3302328
files src/coding.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/coding.c	Sat Aug 15 01:28:14 1998 +0000
+++ b/src/coding.c	Sat Aug 15 01:28:14 1998 +0000
@@ -363,10 +363,10 @@
   "coding-category-iso-8-2",
   "coding-category-iso-7-else",
   "coding-category-iso-8-else",
+  "coding-category-ccl",
   "coding-category-big5",
   "coding-category-raw-text",
-  "coding-category-binary",
-  "coding-category-ccl"
+  "coding-category-binary"
 };
 
 /* Table of pointers to coding systems corresponding to each coding
@@ -3351,7 +3351,7 @@
 		mask = detect_coding_big5 (src, src_end);      
 	      else if (priorities[i] & try & CODING_CATEGORY_MASK_EMACS_MULE)
 		mask = detect_coding_emacs_mule (src, src_end);      
-	      else if (priorities[i] & CODING_CATEGORY_MASK_CCL)
+	      else if (priorities[i] & try & CODING_CATEGORY_MASK_CCL)
 		mask = detect_coding_ccl (src, src_end);
 	      else if (priorities[i] & CODING_CATEGORY_MASK_RAW_TEXT)
 		mask = CODING_CATEGORY_MASK_RAW_TEXT;