Mercurial > emacs
comparison src/coding.c @ 34197:78561a43cdd1
(setup_coding_system): Be sure to initialize coding->category_idx.
| author | Kenichi Handa <handa@m17n.org> |
|---|---|
| date | Tue, 05 Dec 2000 12:34:56 +0000 |
| parents | 6ed22a848efa |
| children | 37f85e931855 |
comparison
equal
deleted
inserted
replaced
| 34196:b20aed6dd753 | 34197:78561a43cdd1 |
|---|---|
| 3009 coding->type = coding_type_undecided; | 3009 coding->type = coding_type_undecided; |
| 3010 coding->common_flags |= CODING_REQUIRE_DETECTION_MASK; | 3010 coding->common_flags |= CODING_REQUIRE_DETECTION_MASK; |
| 3011 } | 3011 } |
| 3012 else | 3012 else |
| 3013 coding->type = coding_type_no_conversion; | 3013 coding->type = coding_type_no_conversion; |
| 3014 /* Initialize this member. Any thing other than | |
| 3015 CODING_CATEGORY_IDX_UTF_16_BE and | |
| 3016 CODING_CATEGORY_IDX_UTF_16_LE are ok because they have | |
| 3017 special treatment in detect_eol. */ | |
| 3018 coding->category_idx = CODING_CATEGORY_IDX_EMACS_MULE; | |
| 3019 | |
| 3014 return 0; | 3020 return 0; |
| 3015 } | 3021 } |
| 3016 | 3022 |
| 3017 /* Get values of coding system properties: | 3023 /* Get values of coding system properties: |
| 3018 `post-read-conversion', `pre-write-conversion', | 3024 `post-read-conversion', `pre-write-conversion', |
