summaryrefslogtreecommitdiff
path: root/src/composite.c
diff options
context:
space:
mode:
authorDmitry Antipov <dmantipov@yandex.ru>2013-03-05 05:48:30 +0400
committerDmitry Antipov <dmantipov@yandex.ru>2013-03-05 05:48:30 +0400
commit3bfc46eb53ed50ec32711b5595cffc5b7b543249 (patch)
tree88866b99e4f9aa5c4e2ee9689105b6a51d80c804 /src/composite.c
parente0bc0f33bd68092b5b3c083fb485a35556a5b73b (diff)
downloademacs-3bfc46eb53ed50ec32711b5595cffc5b7b543249.tar.gz
* composite.c (get_composition_id, fill_gstring_header):
Use make_uninit_vector where appropriate. * font.c (Ffont_get_glyphs, build_style_table): Likewise. * xselect.c (clean_local_selection_data): Likewise.
Diffstat (limited to 'src/composite.c')
-rw-r--r--src/composite.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/composite.c b/src/composite.c
index 2da98cfc36c..8b1f0171a60 100644
--- a/src/composite.c
+++ b/src/composite.c
@@ -234,7 +234,7 @@ get_composition_id (ptrdiff_t charpos, ptrdiff_t bytepos, ptrdiff_t nchars,
key = components;
else if (NILP (components))
{
- key = Fmake_vector (make_number (nchars), Qnil);
+ key = make_uninit_vector (nchars);
if (STRINGP (string))
for (i = 0; i < nchars; i++)
{
@@ -828,7 +828,7 @@ fill_gstring_header (Lisp_Object header, Lisp_Object start, Lisp_Object end,
if (len <= 8)
header = AREF (gstring_work_headers, len - 1);
else
- header = Fmake_vector (make_number (len + 1), Qnil);
+ header = make_uninit_vector (len + 1);
}
ASET (header, 0, font_object);