]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fccl_execute_on_string): Fix setting elements of STATUS.
authorKenichi Handa <handa@m17n.org>
Fri, 14 May 2004 12:41:32 +0000 (12:41 +0000)
committerKenichi Handa <handa@m17n.org>
Fri, 14 May 2004 12:41:32 +0000 (12:41 +0000)
src/ccl.c

index 81e90319e52013926f6c8ad23bf21c5c75593562..4c3528075b4571b24d00ce271be5726f24f72911 100644 (file)
--- 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))