1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-19 04:10:18 -08:00

* 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 @@ macfont_shape (Lisp_Object lgstring)
if (NILP (lglyph)) if (NILP (lglyph))
{ {
lglyph = Fmake_vector (make_number (LGLYPH_SIZE), Qnil); lglyph = LGLYPH_NEW ();
LGSTRING_SET_GLYPH (lgstring, i, lglyph); LGSTRING_SET_GLYPH (lgstring, i, lglyph);
} }