1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-23 07:19:15 +00:00

(setup_coding_system): Be sure to initialize coding->category_idx.

This commit is contained in:
Kenichi Handa 2000-12-05 12:34:56 +00:00
parent 91372bb731
commit 9b96232f57

View File

@ -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;
}