(setup_coding_system): Be sure to initialize coding->category_idx.
This commit is contained in:
parent
91372bb731
commit
9b96232f57
1 changed files with 6 additions and 0 deletions
|
@ -3011,6 +3011,12 @@ setup_coding_system (coding_system, coding)
|
|||
}
|
||||
else
|
||||
coding->type = coding_type_no_conversion;
|
||||
/* Initialize this member. Any thing other than
|
||||
CODING_CATEGORY_IDX_UTF_16_BE and
|
||||
CODING_CATEGORY_IDX_UTF_16_LE are ok because they have
|
||||
special treatment in detect_eol. */
|
||||
coding->category_idx = CODING_CATEGORY_IDX_EMACS_MULE;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue