diff options
| author | Joakim Verona | 2013-03-06 00:04:01 +0100 |
|---|---|---|
| committer | Joakim Verona | 2013-03-06 00:04:01 +0100 |
| commit | 79157e99328fb1d835985dfa89fc2a2fa427d077 (patch) | |
| tree | ac0e5a6a03089e3d6352cb3311510cfac0b7d051 /src/composite.c | |
| parent | 15cb771195328913a9c24467db7e373acb92a769 (diff) | |
| parent | 707431575aef93ac3e9923d450a6cbf18192c933 (diff) | |
| download | emacs-79157e99328fb1d835985dfa89fc2a2fa427d077.tar.gz emacs-79157e99328fb1d835985dfa89fc2a2fa427d077.zip | |
auto upstream
Diffstat (limited to 'src/composite.c')
| -rw-r--r-- | src/composite.c | 4 |
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, | |||
| 234 | key = components; | 234 | key = components; |
| 235 | else if (NILP (components)) | 235 | else if (NILP (components)) |
| 236 | { | 236 | { |
| 237 | key = Fmake_vector (make_number (nchars), Qnil); | 237 | key = make_uninit_vector (nchars); |
| 238 | if (STRINGP (string)) | 238 | if (STRINGP (string)) |
| 239 | for (i = 0; i < nchars; i++) | 239 | for (i = 0; i < nchars; i++) |
| 240 | { | 240 | { |
| @@ -828,7 +828,7 @@ fill_gstring_header (Lisp_Object header, Lisp_Object start, Lisp_Object end, | |||
| 828 | if (len <= 8) | 828 | if (len <= 8) |
| 829 | header = AREF (gstring_work_headers, len - 1); | 829 | header = AREF (gstring_work_headers, len - 1); |
| 830 | else | 830 | else |
| 831 | header = Fmake_vector (make_number (len + 1), Qnil); | 831 | header = make_uninit_vector (len + 1); |
| 832 | } | 832 | } |
| 833 | 833 | ||
| 834 | ASET (header, 0, font_object); | 834 | ASET (header, 0, font_object); |