diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2013-11-07 23:28:21 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2013-11-07 23:28:21 -0800 |
commit | 7f1913b2da83e8350717f17beb2cebd73e1e2561 (patch) | |
tree | fe6302fa75e9768e31c777d2563264d16be54d17 /src/chartab.c | |
parent | 7dd8b873bb2e583b81cbae057395de6e01c46618 (diff) | |
download | emacs-7f1913b2da83e8350717f17beb2cebd73e1e2561.tar.gz |
* 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
Diffstat (limited to 'src/chartab.c')
-rw-r--r-- | src/chartab.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/chartab.c b/src/chartab.c index b7b9590a538..16dd85c12c0 100644 --- a/src/chartab.c +++ b/src/chartab.c @@ -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); |