From c26d452ae15a74f0eeec53ba529eebaa95eb5489 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Mitsuharu Date: Mon, 29 Apr 2019 07:31:45 +0900 Subject: [PATCH] * src/macfont.m (macfont_shape): Use convenient LGLYPH_NEW. --- src/macfont.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.39.2