diff options
author | Kenichi Handa <handa@m17n.org> | 1997-03-18 23:31:34 +0000 |
---|---|---|
committer | Kenichi Handa <handa@m17n.org> | 1997-03-18 23:31:34 +0000 |
commit | a549539882d5a5aa32e764cb0fa8494aab615b6b (patch) | |
tree | 655c50ec98d5607ac4fdf4a09260076f7b8c688f /src/coding.c | |
parent | 84a2955bf03f8478bf4ec726506d4645968b3e64 (diff) | |
download | emacs-a549539882d5a5aa32e764cb0fa8494aab615b6b.tar.gz |
Adjusted for the change of MAX_CHARSET.
Diffstat (limited to 'src/coding.c')
-rw-r--r-- | src/coding.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/coding.c b/src/coding.c index 277a9b16678..6e20b47ee34 100644 --- a/src/coding.c +++ b/src/coding.c @@ -2146,7 +2146,7 @@ setup_coding_system (coding_system, coding) elements (if integer) is designated to REG on request, if an element is t, REG can be used by any charset, nil: REG is never used. */ - for (charset = 0; charset < MAX_CHARSET; charset++) + for (charset = 0; charset <= MAX_CHARSET; charset++) CODING_SPEC_ISO_REQUESTED_DESIGNATION (coding, charset) = -1; for (i = 0; i < 4; i++) { @@ -2207,7 +2207,7 @@ setup_coding_system (coding_system, coding) default_reg_bits &= 3; } - for (charset = 0; charset < MAX_CHARSET; charset++) + for (charset = 0; charset <= MAX_CHARSET; charset++) if (CHARSET_VALID_P (charset) && CODING_SPEC_ISO_REQUESTED_DESIGNATION (coding, charset) < 0) { |