emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-26 c26d452: * src/macfont.m (macfont_shape): Use con


From: YAMAMOTO Mitsuharu
Subject: [Emacs-diffs] emacs-26 c26d452: * src/macfont.m (macfont_shape): Use convenient LGLYPH_NEW.
Date: Sun, 28 Apr 2019 18:32:59 -0400 (EDT)

branch: emacs-26
commit c26d452ae15a74f0eeec53ba529eebaa95eb5489
Author: YAMAMOTO Mitsuharu <address@hidden>
Commit: YAMAMOTO Mitsuharu <address@hidden>

    * 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 42ebfd3..7f153e1 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);
         }
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]