aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenichi Handa2004-05-14 12:41:32 +0000
committerKenichi Handa2004-05-14 12:41:32 +0000
commit866ebf45ca1b8eaf1c06886d04e29ad56b1e0139 (patch)
treeaa38403444466582e5dc3d39872a79faeb9b2520 /src
parentddda21d349fe087a3c6d72a0083b410dd7569c43 (diff)
downloademacs-866ebf45ca1b8eaf1c06886d04e29ad56b1e0139.tar.gz
emacs-866ebf45ca1b8eaf1c06886d04e29ad56b1e0139.zip
(Fccl_execute_on_string): Fix setting elements of STATUS.
Diffstat (limited to 'src')
-rw-r--r--src/ccl.c4
1 files 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. */
2196 produced = ccl_driver (&ccl, SDATA (str), outbuf, 2196 produced = ccl_driver (&ccl, SDATA (str), outbuf,
2197 SBYTES (str), outbufsize, (int *) 0); 2197 SBYTES (str), outbufsize, (int *) 0);
2198 for (i = 0; i < 8; i++) 2198 for (i = 0; i < 8; i++)
2199 XSET (AREF (status, i), Lisp_Int, ccl.reg[i]); 2199 ASET (status, i, make_number (ccl.reg[i]));
2200 XSETINT (AREF (status, 8), ccl.ic); 2200 ASET (status, 8, make_number (ccl.ic));
2201 UNGCPRO; 2201 UNGCPRO;
2202 2202
2203 if (NILP (unibyte_p)) 2203 if (NILP (unibyte_p))