Commit 2e0b197c authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

(make_fontset): Use larger_vector.

parent 1d153206
...@@ -391,15 +391,7 @@ make_fontset (frame, name, base) ...@@ -391,15 +391,7 @@ make_fontset (frame, name, base)
while (!NILP (AREF (Vfontset_table, id))) id++; while (!NILP (AREF (Vfontset_table, id))) id++;
if (id + 1 == size) if (id + 1 == size)
{ Vfontset_table = larger_vector (Vfontset_table, size + 8, Qnil);
Lisp_Object tem;
int i;
tem = Fmake_vector (make_number (size + 8), Qnil);
for (i = 0; i < size; i++)
AREF (tem, i) = AREF (Vfontset_table, i);
Vfontset_table = tem;
}
fontset = Fmake_char_table (Qfontset, Qnil); fontset = Fmake_char_table (Qfontset, Qnil);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment