Commit 7f1913b2 authored by Paul Eggert's avatar Paul Eggert
Browse files

* chartab.c (make_sub_char_table): Fix size typo.

This bug was introduced in my 2013-06-21 change, and caused
struct Lisp_Sub_Char_Table objects to be given too many slots,
which broke 'make -C admin/unidata'.

Fixes: debbugs:15825
parent 7dd8b873
2013-11-08 Paul Eggert <eggert@cs.ucla.edu>
* chartab.c (make_sub_char_table): Fix size typo (Bug#15825).
This bug was introduced in my 2013-06-21 change, and caused
struct Lisp_Sub_Char_Table objects to be given too many slots,
which broke 'make -C admin/unidata'.
2013-11-07 Jan Djärv <jan.h.d@swipnet.se>
Import changes from mac-port 4.5.
......
......@@ -141,7 +141,8 @@ static Lisp_Object
make_sub_char_table (int depth, int min_char, Lisp_Object defalt)
{
Lisp_Object table;
int size = CHAR_TABLE_STANDARD_SLOTS + chartab_size[depth];
int size = (PSEUDOVECSIZE (struct Lisp_Sub_Char_Table, contents)
+ chartab_size[depth]);
table = Fmake_vector (make_number (size), defalt);
XSETPVECTYPE (XVECTOR (table), PVEC_SUB_CHAR_TABLE);
......
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