diff options
| author | Eli Zaretskii | 2007-10-13 12:07:41 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2007-10-13 12:07:41 +0000 |
| commit | 2e0b197c9eaf4c6b396fb44e1f92510e0f402b51 (patch) | |
| tree | 9e854acbd239181033b2eadded157ff78374323f /src | |
| parent | 1d15320697ce2d39c0dc5daa44530a34859c29ac (diff) | |
| download | emacs-2e0b197c9eaf4c6b396fb44e1f92510e0f402b51.tar.gz emacs-2e0b197c9eaf4c6b396fb44e1f92510e0f402b51.zip | |
(make_fontset): Use larger_vector.
Diffstat (limited to 'src')
| -rw-r--r-- | src/fontset.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/fontset.c b/src/fontset.c index 1d6e73517b6..2c0f0ac161c 100644 --- a/src/fontset.c +++ b/src/fontset.c | |||
| @@ -391,15 +391,7 @@ make_fontset (frame, name, base) | |||
| 391 | while (!NILP (AREF (Vfontset_table, id))) id++; | 391 | while (!NILP (AREF (Vfontset_table, id))) id++; |
| 392 | 392 | ||
| 393 | if (id + 1 == size) | 393 | if (id + 1 == size) |
| 394 | { | 394 | Vfontset_table = larger_vector (Vfontset_table, size + 8, Qnil); |
| 395 | Lisp_Object tem; | ||
| 396 | int i; | ||
| 397 | |||
| 398 | tem = Fmake_vector (make_number (size + 8), Qnil); | ||
| 399 | for (i = 0; i < size; i++) | ||
| 400 | AREF (tem, i) = AREF (Vfontset_table, i); | ||
| 401 | Vfontset_table = tem; | ||
| 402 | } | ||
| 403 | 395 | ||
| 404 | fontset = Fmake_char_table (Qfontset, Qnil); | 396 | fontset = Fmake_char_table (Qfontset, Qnil); |
| 405 | 397 | ||