diff options
| author | Paul Eggert | 2018-06-15 13:40:12 -0700 |
|---|---|---|
| committer | Paul Eggert | 2018-06-15 13:40:46 -0700 |
| commit | dec54ec0c067535c87371b1f7942941b90765647 (patch) | |
| tree | 865448d80a032924889b20c4714a70dda37dea11 /src | |
| parent | 850c0c1a8799f4e59b465b849fdbe6a57ec2ebfd (diff) | |
| download | emacs-dec54ec0c067535c87371b1f7942941b90765647.tar.gz emacs-dec54ec0c067535c87371b1f7942941b90765647.zip | |
Fix typo in previous macfont.m change
* src/macfont.m (macfont_descriptor_entity): Fix typo.
Problem reported by Clemens Schüller.
Diffstat (limited to 'src')
| -rw-r--r-- | src/macfont.m | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/macfont.m b/src/macfont.m index 3a1e9e5f477..e0c704fac95 100644 --- a/src/macfont.m +++ b/src/macfont.m | |||
| @@ -908,7 +908,8 @@ macfont_descriptor_entity (CTFontDescriptorRef desc, Lisp_Object extra, | |||
| 908 | ASET (entity, FONT_EXTRA_INDEX, Fcopy_sequence (extra)); | 908 | ASET (entity, FONT_EXTRA_INDEX, Fcopy_sequence (extra)); |
| 909 | name = CTFontDescriptorCopyAttribute (desc, kCTFontNameAttribute); | 909 | name = CTFontDescriptorCopyAttribute (desc, kCTFontNameAttribute); |
| 910 | font_put_extra (entity, QCfont_entity, | 910 | font_put_extra (entity, QCfont_entity, |
| 911 | Fcons (make_mint_ptr ((void *) name), make_number (traits))); | 911 | Fcons (make_mint_ptr ((void *) name), |
| 912 | make_number (sym_traits))); | ||
| 912 | if (synth_sym_traits & kCTFontTraitItalic) | 913 | if (synth_sym_traits & kCTFontTraitItalic) |
| 913 | FONT_SET_STYLE (entity, FONT_SLANT_INDEX, | 914 | FONT_SET_STYLE (entity, FONT_SLANT_INDEX, |
| 914 | make_number (FONT_SLANT_SYNTHETIC_ITALIC)); | 915 | make_number (FONT_SLANT_SYNTHETIC_ITALIC)); |