]> git.eshelyaron.com Git - emacs.git/commitdiff
* src/macfont.m (macfont_shape): Use convenient LGLYPH_NEW.
authorYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Sun, 28 Apr 2019 22:31:45 +0000 (07:31 +0900)
committerYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Sun, 28 Apr 2019 22:31:45 +0000 (07:31 +0900)
src/macfont.m

index 42ebfd3d6b78bcda7e7ff62e4862f5029f3e8822..7f153e13045358b11f76acbe86db9ccd0f673eb0 100644 (file)
@@ -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);
         }