* src/macfont.m (macfont_shape): Use convenient LGLYPH_NEW.

This commit is contained in:
YAMAMOTO Mitsuharu 2019-04-29 07:31:45 +09:00
parent 140e7f890f
commit c26d452ae1

View file

@ -2994,7 +2994,7 @@ So we use CTFontDescriptorCreateMatchingFontDescriptor (no
if (NILP (lglyph))
{
lglyph = Fmake_vector (make_number (LGLYPH_SIZE), Qnil);
lglyph = LGLYPH_NEW ();
LGSTRING_SET_GLYPH (lgstring, i, lglyph);
}