diff options
Diffstat (limited to 'src/coding.c')
| -rw-r--r-- | src/coding.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/coding.c b/src/coding.c index d9606cf5710..412d7245223 100644 --- a/src/coding.c +++ b/src/coding.c | |||
| @@ -6301,6 +6301,9 @@ detect_coding (struct coding_system *coding) | |||
| 6301 | { | 6301 | { |
| 6302 | category = coding_priorities[i]; | 6302 | category = coding_priorities[i]; |
| 6303 | this = coding_categories + category; | 6303 | this = coding_categories + category; |
| 6304 | /* Some of this->detector (e.g. detect_coding_sjis) | ||
| 6305 | require this information. */ | ||
| 6306 | coding->id = this->id; | ||
| 6304 | if (this->id < 0) | 6307 | if (this->id < 0) |
| 6305 | { | 6308 | { |
| 6306 | /* No coding system of this category is defined. */ | 6309 | /* No coding system of this category is defined. */ |