[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master dec54ec: Fix typo in previous macfont.m change
From: |
Paul Eggert |
Subject: |
[Emacs-diffs] master dec54ec: Fix typo in previous macfont.m change |
Date: |
Fri, 15 Jun 2018 16:40:56 -0400 (EDT) |
branch: master
commit dec54ec0c067535c87371b1f7942941b90765647
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>
Fix typo in previous macfont.m change
* src/macfont.m (macfont_descriptor_entity): Fix typo.
Problem reported by Clemens Schüller.
---
src/macfont.m | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/macfont.m b/src/macfont.m
index 3a1e9e5..e0c704f 100644
--- a/src/macfont.m
+++ b/src/macfont.m
@@ -908,7 +908,8 @@ macfont_descriptor_entity (CTFontDescriptorRef desc,
Lisp_Object extra,
ASET (entity, FONT_EXTRA_INDEX, Fcopy_sequence (extra));
name = CTFontDescriptorCopyAttribute (desc, kCTFontNameAttribute);
font_put_extra (entity, QCfont_entity,
- Fcons (make_mint_ptr ((void *) name), make_number (traits)));
+ Fcons (make_mint_ptr ((void *) name),
+ make_number (sym_traits)));
if (synth_sym_traits & kCTFontTraitItalic)
FONT_SET_STYLE (entity, FONT_SLANT_INDEX,
make_number (FONT_SLANT_SYNTHETIC_ITALIC));
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master dec54ec: Fix typo in previous macfont.m change,
Paul Eggert <=