From: YAMAMOTO Mitsuharu Date: Sun, 28 Apr 2019 22:31:45 +0000 (+0900) Subject: * src/macfont.m (macfont_shape): Use convenient LGLYPH_NEW. X-Git-Tag: emacs-26.2.90~77 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c26d452ae15a74f0eeec53ba529eebaa95eb5489;p=emacs.git * src/macfont.m (macfont_shape): Use convenient LGLYPH_NEW. --- diff --git a/src/macfont.m b/src/macfont.m index 42ebfd3d6b7..7f153e13045 100644 --- a/src/macfont.m +++ b/src/macfont.m @@ -2994,7 +2994,7 @@ macfont_shape (Lisp_Object lgstring) if (NILP (lglyph)) { - lglyph = Fmake_vector (make_number (LGLYPH_SIZE), Qnil); + lglyph = LGLYPH_NEW (); LGSTRING_SET_GLYPH (lgstring, i, lglyph); }