diff options
| author | Richard M. Stallman | 1998-01-09 23:00:30 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1998-01-09 23:00:30 +0000 |
| commit | bff2601e52145ae404fe521f524ecbc2d74a0d4c (patch) | |
| tree | 6e6593b2a5909bf9f23046d31867df88c271569e | |
| parent | 115afec3199426e9c3cec469079b884724d92bc1 (diff) | |
| download | emacs-bff2601e52145ae404fe521f524ecbc2d74a0d4c.tar.gz emacs-bff2601e52145ae404fe521f524ecbc2d74a0d4c.zip | |
(Fccl_execute_on_string): Use size_byte.
| -rw-r--r-- | src/ccl.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1053,13 +1053,13 @@ CCL-PROGRAM on exit.") | |||
| 1053 | if (ccl.ic < i && i < ccl.size) | 1053 | if (ccl.ic < i && i < ccl.size) |
| 1054 | ccl.ic = i; | 1054 | ccl.ic = i; |
| 1055 | } | 1055 | } |
| 1056 | outbufsize = XSTRING (str)->size * ccl.buf_magnification + 256; | 1056 | outbufsize = XSTRING (str)->size_byte * ccl.buf_magnification + 256; |
| 1057 | outbuf = (char *) xmalloc (outbufsize); | 1057 | outbuf = (char *) xmalloc (outbufsize); |
| 1058 | if (!outbuf) | 1058 | if (!outbuf) |
| 1059 | error ("Not enough memory"); | 1059 | error ("Not enough memory"); |
| 1060 | ccl.last_block = NILP (contin); | 1060 | ccl.last_block = NILP (contin); |
| 1061 | produced = ccl_driver (&ccl, XSTRING (str)->data, outbuf, | 1061 | produced = ccl_driver (&ccl, XSTRING (str)->data, outbuf, |
| 1062 | XSTRING (str)->size, outbufsize, (int *)0); | 1062 | XSTRING (str)->size_byte, outbufsize, (int *)0); |
| 1063 | for (i = 0; i < 8; i++) | 1063 | for (i = 0; i < 8; i++) |
| 1064 | XSET (XVECTOR (status)->contents[i], Lisp_Int, ccl.reg[i]); | 1064 | XSET (XVECTOR (status)->contents[i], Lisp_Int, ccl.reg[i]); |
| 1065 | XSETINT (XVECTOR (status)->contents[8], ccl.ic); | 1065 | XSETINT (XVECTOR (status)->contents[8], ccl.ic); |