diff options
author | Richard M. Stallman <rms@gnu.org> | 1998-01-09 23:00:30 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1998-01-09 23:00:30 +0000 |
commit | bff2601e52145ae404fe521f524ecbc2d74a0d4c (patch) | |
tree | 6e6593b2a5909bf9f23046d31867df88c271569e /src/ccl.c | |
parent | 115afec3199426e9c3cec469079b884724d92bc1 (diff) | |
download | emacs-bff2601e52145ae404fe521f524ecbc2d74a0d4c.tar.gz |
(Fccl_execute_on_string): Use size_byte.
Diffstat (limited to 'src/ccl.c')
-rw-r--r-- | src/ccl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ccl.c b/src/ccl.c index 85a2334f4a8..df58bb55a03 100644 --- a/src/ccl.c +++ b/src/ccl.c @@ -1053,13 +1053,13 @@ CCL-PROGRAM on exit.") if (ccl.ic < i && i < ccl.size) ccl.ic = i; } - outbufsize = XSTRING (str)->size * ccl.buf_magnification + 256; + outbufsize = XSTRING (str)->size_byte * ccl.buf_magnification + 256; outbuf = (char *) xmalloc (outbufsize); if (!outbuf) error ("Not enough memory"); ccl.last_block = NILP (contin); produced = ccl_driver (&ccl, XSTRING (str)->data, outbuf, - XSTRING (str)->size, outbufsize, (int *)0); + XSTRING (str)->size_byte, outbufsize, (int *)0); for (i = 0; i < 8; i++) XSET (XVECTOR (status)->contents[i], Lisp_Int, ccl.reg[i]); XSETINT (XVECTOR (status)->contents[8], ccl.ic); |