# HG changeset patch # User Richard M. Stallman # Date 884386830 0 # Node ID e0ed7fc921fa6a82357587ca38c0a4cb58f69362 # Parent 5a0922f8c8416df9abd1ce506ff88e04502b1f0a (Fccl_execute_on_string): Use size_byte. diff -r 5a0922f8c841 -r e0ed7fc921fa src/ccl.c --- a/src/ccl.c Fri Jan 09 22:59:31 1998 +0000 +++ b/src/ccl.c Fri Jan 09 23:00:30 1998 +0000 @@ -1053,13 +1053,13 @@ 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);