diff options
author | Dmitry Antipov <dmantipov@yandex.ru> | 2012-06-19 20:56:28 +0400 |
---|---|---|
committer | Dmitry Antipov <dmantipov@yandex.ru> | 2012-06-19 20:56:28 +0400 |
commit | 28be1ada0fb9a4b51cf361dc45208e764bd34143 (patch) | |
tree | 30a21470e485d1d9f397d97dcb9a386c578ab746 /src/composite.c | |
parent | 68f12411893785de1cfc2c24ec36059e49af5d55 (diff) | |
download | emacs-28be1ada0fb9a4b51cf361dc45208e764bd34143.tar.gz |
* alloc.c, bytecode.c, ccl.c, coding.c, composite.c, data.c, dosfns.c:
* font.c, image.c, keyboard.c, lread.c, menu.c, minibuf.c, msdos.c:
* print.c, syntax.c, window.c, xmenu.c, xselect.c: Replace direct
access to `contents' member of Lisp_Vector objects with AREF and ASET
where appropriate.
Diffstat (limited to 'src/composite.c')
-rw-r--r-- | src/composite.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/composite.c b/src/composite.c index 6070e4070f0..79942acad02 100644 --- a/src/composite.c +++ b/src/composite.c @@ -240,13 +240,13 @@ get_composition_id (ptrdiff_t charpos, ptrdiff_t bytepos, ptrdiff_t nchars, for (i = 0; i < nchars; i++) { FETCH_STRING_CHAR_ADVANCE (ch, string, charpos, bytepos); - XVECTOR (key)->contents[i] = make_number (ch); + ASET (key, i, make_number (ch)); } else for (i = 0; i < nchars; i++) { FETCH_CHAR_ADVANCE (ch, charpos, bytepos); - XVECTOR (key)->contents[i] = make_number (ch); + ASET (key, i, make_number (ch)); } } else |