mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-06-14 12:31:25 +00:00
* src/charset.h (charset_attributes_getter): Add assertion.
This commit is contained in:
parent
186af8e934
commit
bbb4fc26e7
1 changed files with 3 additions and 1 deletions
|
|
@ -291,7 +291,9 @@ INLINE Lisp_Object
|
|||
charset_attributes_getter (struct charset *charset)
|
||||
{
|
||||
eassert (ASIZE (charset_attributes_table) == charset_table_size);
|
||||
return AREF (charset_attributes_table, charset->id);
|
||||
Lisp_Object attrs = AREF (charset_attributes_table, charset->id);
|
||||
eassert (XFIXNUM (CHARSET_ATTR_ID (attrs)) == charset->id);
|
||||
return attrs;
|
||||
}
|
||||
|
||||
/* Return the attribute vector of CHARSET. */
|
||||
|
|
|
|||
Loading…
Reference in a new issue