aboutsummaryrefslogtreecommitdiffstats
path: root/src/data.c
diff options
context:
space:
mode:
authorDmitry Antipov <[email protected]>2012-06-19 20:56:28 +0400
committerDmitry Antipov <[email protected]>2012-06-19 20:56:28 +0400
commit28be1ada0fb9a4b51cf361dc45208e764bd34143 (patch)
tree30a21470e485d1d9f397d97dcb9a386c578ab746 /src/data.c
parent68f12411893785de1cfc2c24ec36059e49af5d55 (diff)
* 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/data.c')
-rw-r--r--src/data.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/data.c b/src/data.c
index 2aa27e65d7..ee43b98e6e 100644
--- a/src/data.c
+++ b/src/data.c
@@ -2134,7 +2134,7 @@ bool-vector. IDX starts at 0. */)
{
if (idxval < 0 || idxval >= ASIZE (array))
args_out_of_range (array, idx);
- XVECTOR (array)->contents[idxval] = newelt;
+ ASET (array, idxval, newelt);
}
else if (BOOL_VECTOR_P (array))
{