Skip to content

Commit c26d452

Browse files
committed
* src/macfont.m (macfont_shape): Use convenient LGLYPH_NEW.
1 parent 140e7f8 commit c26d452

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/macfont.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2994,7 +2994,7 @@ So we use CTFontDescriptorCreateMatchingFontDescriptor (no
29942994

29952995
if (NILP (lglyph))
29962996
{
2997-
lglyph = Fmake_vector (make_number (LGLYPH_SIZE), Qnil);
2997+
lglyph = LGLYPH_NEW ();
29982998
LGSTRING_SET_GLYPH (lgstring, i, lglyph);
29992999
}
30003000

0 commit comments

Comments
 (0)