aboutsummaryrefslogtreecommitdiffstats
path: root/src/w32uniscribe.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/w32uniscribe.c')
-rw-r--r--src/w32uniscribe.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/w32uniscribe.c b/src/w32uniscribe.c
index 5d160b9d42f..c153c8f3565 100644
--- a/src/w32uniscribe.c
+++ b/src/w32uniscribe.c
@@ -1,5 +1,5 @@
1/* Font backend for the Microsoft W32 Uniscribe API. 1/* Font backend for the Microsoft W32 Uniscribe API.
2 Copyright (C) 2008-2012 Free Software Foundation, Inc. 2 Copyright (C) 2008-2013 Free Software Foundation, Inc.
3 3
4This file is part of GNU Emacs. 4This file is part of GNU Emacs.
5 5
@@ -333,7 +333,7 @@ uniscribe_shape (Lisp_Object lgstring)
333 333
334 if (NILP (lglyph)) 334 if (NILP (lglyph))
335 { 335 {
336 lglyph = Fmake_vector (make_number (LGLYPH_SIZE), Qnil); 336 lglyph = LGLYPH_NEW ();
337 LGSTRING_SET_GLYPH (lgstring, lglyph_index, lglyph); 337 LGSTRING_SET_GLYPH (lgstring, lglyph_index, lglyph);
338 } 338 }
339 /* Copy to a 32-bit data type to shut up the 339 /* Copy to a 32-bit data type to shut up the
@@ -435,8 +435,8 @@ uniscribe_shape (Lisp_Object lgstring)
435 are zero. */ 435 are zero. */
436 || (!attributes[j].fClusterStart && items[i].a.fRTL)) 436 || (!attributes[j].fClusterStart && items[i].a.fRTL))
437 { 437 {
438 Lisp_Object vec; 438 Lisp_Object vec = make_uninit_vector (3);
439 vec = Fmake_vector (make_number (3), Qnil); 439
440 if (items[i].a.fRTL) 440 if (items[i].a.fRTL)
441 { 441 {
442 /* Empirically, it looks like Uniscribe 442 /* Empirically, it looks like Uniscribe