From 866ebf45ca1b8eaf1c06886d04e29ad56b1e0139 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Fri, 14 May 2004 12:41:32 +0000 Subject: [PATCH] (Fccl_execute_on_string): Fix setting elements of STATUS. --- src/ccl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ccl.c b/src/ccl.c index 81e90319e52..4c3528075b4 100644 --- a/src/ccl.c +++ b/src/ccl.c @@ -2196,8 +2196,8 @@ See the documentation of `define-ccl-program' for the detail of CCL program. */ produced = ccl_driver (&ccl, SDATA (str), outbuf, SBYTES (str), outbufsize, (int *) 0); for (i = 0; i < 8; i++) - XSET (AREF (status, i), Lisp_Int, ccl.reg[i]); - XSETINT (AREF (status, 8), ccl.ic); + ASET (status, i, make_number (ccl.reg[i])); + ASET (status, 8, make_number (ccl.ic)); UNGCPRO; if (NILP (unibyte_p)) -- 2.39.2