diff options
| author | Kenichi Handa | 1997-03-18 23:31:34 +0000 |
|---|---|---|
| committer | Kenichi Handa | 1997-03-18 23:31:34 +0000 |
| commit | 467e7675540bdf5f21379a0ee5d7f92627e3ead3 (patch) | |
| tree | f3ac95a241bea13cfbcd2bb95e4a55deffc4deff /src/coding.c | |
| parent | 1df19f02032a543c303bb21982ebd2a1278677ff (diff) | |
| download | emacs-467e7675540bdf5f21379a0ee5d7f92627e3ead3.tar.gz emacs-467e7675540bdf5f21379a0ee5d7f92627e3ead3.zip | |
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) | |||
| 2146 | elements (if integer) is designated to REG on request, | 2146 | elements (if integer) is designated to REG on request, |
| 2147 | if an element is t, REG can be used by any charset, | 2147 | if an element is t, REG can be used by any charset, |
| 2148 | nil: REG is never used. */ | 2148 | nil: REG is never used. */ |
| 2149 | for (charset = 0; charset < MAX_CHARSET; charset++) | 2149 | for (charset = 0; charset <= MAX_CHARSET; charset++) |
| 2150 | CODING_SPEC_ISO_REQUESTED_DESIGNATION (coding, charset) = -1; | 2150 | CODING_SPEC_ISO_REQUESTED_DESIGNATION (coding, charset) = -1; |
| 2151 | for (i = 0; i < 4; i++) | 2151 | for (i = 0; i < 4; i++) |
| 2152 | { | 2152 | { |
| @@ -2207,7 +2207,7 @@ setup_coding_system (coding_system, coding) | |||
| 2207 | default_reg_bits &= 3; | 2207 | default_reg_bits &= 3; |
| 2208 | } | 2208 | } |
| 2209 | 2209 | ||
| 2210 | for (charset = 0; charset < MAX_CHARSET; charset++) | 2210 | for (charset = 0; charset <= MAX_CHARSET; charset++) |
| 2211 | if (CHARSET_VALID_P (charset) | 2211 | if (CHARSET_VALID_P (charset) |
| 2212 | && CODING_SPEC_ISO_REQUESTED_DESIGNATION (coding, charset) < 0) | 2212 | && CODING_SPEC_ISO_REQUESTED_DESIGNATION (coding, charset) < 0) |
| 2213 | { | 2213 | { |