summaryrefslogtreecommitdiff
path: root/src/macfont.m
diff options
context:
space:
mode:
authorYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>2019-04-29 07:31:45 +0900
committerYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>2019-04-29 07:31:45 +0900
commitc26d452ae15a74f0eeec53ba529eebaa95eb5489 (patch)
tree70ac1b0660aad0831bfbdcde8454d8501e5ceb53 /src/macfont.m
parent140e7f890fa94f8b6381dfa3e0682cacfa92a593 (diff)
downloademacs-c26d452ae15a74f0eeec53ba529eebaa95eb5489.tar.gz
* src/macfont.m (macfont_shape): Use convenient LGLYPH_NEW.
Diffstat (limited to 'src/macfont.m')
-rw-r--r--src/macfont.m2
1 files changed, 1 insertions, 1 deletions
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);
}