diff options
Diffstat (limited to 'src/ccl.c')
| -rw-r--r-- | src/ccl.c | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -2198,12 +2198,12 @@ See the documentation of `define-ccl-program' for the detail of CCL program. */ | |||
| 2198 | if (ccl.ic < i && i < ccl.size) | 2198 | if (ccl.ic < i && i < ccl.size) |
| 2199 | ccl.ic = i; | 2199 | ccl.ic = i; |
| 2200 | } | 2200 | } |
| 2201 | outbufsize = STRING_BYTES (XSTRING (str)) * ccl.buf_magnification + 256; | 2201 | outbufsize = SBYTES (str) * ccl.buf_magnification + 256; |
| 2202 | outbuf = (char *) xmalloc (outbufsize); | 2202 | outbuf = (char *) xmalloc (outbufsize); |
| 2203 | ccl.last_block = NILP (contin); | 2203 | ccl.last_block = NILP (contin); |
| 2204 | ccl.multibyte = STRING_MULTIBYTE (str); | 2204 | ccl.multibyte = STRING_MULTIBYTE (str); |
| 2205 | produced = ccl_driver (&ccl, XSTRING (str)->data, outbuf, | 2205 | produced = ccl_driver (&ccl, SDATA (str), outbuf, |
| 2206 | STRING_BYTES (XSTRING (str)), outbufsize, (int *) 0); | 2206 | SBYTES (str), outbufsize, (int *) 0); |
| 2207 | for (i = 0; i < 8; i++) | 2207 | for (i = 0; i < 8; i++) |
| 2208 | XSET (AREF (status, i), Lisp_Int, ccl.reg[i]); | 2208 | XSET (AREF (status, i), Lisp_Int, ccl.reg[i]); |
| 2209 | XSETINT (AREF (status, 8), ccl.ic); | 2209 | XSETINT (AREF (status, 8), ccl.ic); |