diff options
| author | Vibhav Pant | 2020-08-21 14:04:35 +0530 |
|---|---|---|
| committer | Vibhav Pant | 2020-08-21 14:04:35 +0530 |
| commit | f0f8d7b82492e741950c363a03b886965c91b1b0 (patch) | |
| tree | 19b716830b1ebabc0d7d75949c4e6800c0f104ad /src/charset.c | |
| parent | 9e64a087c4d167e7ec1c4e22bea3e6af53b563de (diff) | |
| parent | c818c29771d3cb51875643b2f6c894073e429dd2 (diff) | |
| download | emacs-feature/native-comp-macos-fixes.tar.gz emacs-feature/native-comp-macos-fixes.zip | |
Merge branch 'feature/native-comp' into feature/native-comp-macos-fixesfeature/native-comp-macos-fixes
Diffstat (limited to 'src/charset.c')
| -rw-r--r-- | src/charset.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/charset.c b/src/charset.c index 8635aad3ed6..520dd3a9605 100644 --- a/src/charset.c +++ b/src/charset.c | |||
| @@ -1035,12 +1035,9 @@ usage: (define-charset-internal ...) */) | |||
| 1035 | CHECK_FIXNAT (parent_max_code); | 1035 | CHECK_FIXNAT (parent_max_code); |
| 1036 | parent_code_offset = Fnth (make_fixnum (3), val); | 1036 | parent_code_offset = Fnth (make_fixnum (3), val); |
| 1037 | CHECK_FIXNUM (parent_code_offset); | 1037 | CHECK_FIXNUM (parent_code_offset); |
| 1038 | val = make_uninit_vector (4); | 1038 | ASET (attrs, charset_subset, |
| 1039 | ASET (val, 0, make_fixnum (parent_charset->id)); | 1039 | CALLN (Fvector, make_fixnum (parent_charset->id), |
| 1040 | ASET (val, 1, parent_min_code); | 1040 | parent_min_code, parent_max_code, parent_code_offset)); |
| 1041 | ASET (val, 2, parent_max_code); | ||
| 1042 | ASET (val, 3, parent_code_offset); | ||
| 1043 | ASET (attrs, charset_subset, val); | ||
| 1044 | 1041 | ||
| 1045 | charset.method = CHARSET_METHOD_SUBSET; | 1042 | charset.method = CHARSET_METHOD_SUBSET; |
| 1046 | /* Here, we just copy the parent's fast_map. It's not accurate, | 1043 | /* Here, we just copy the parent's fast_map. It's not accurate, |