# HG changeset patch # User Richard M. Stallman # Date 884387267 0 # Node ID d5acac3af6e310f0a42b1ef8ab2ff6f643d63d3e # Parent 20957e3ca2f51800abae2fc01aacfc969f3de31d (Fsend_string_to_terminal): Use size_byte. diff -r 20957e3ca2f5 -r d5acac3af6e3 src/dispnew.c --- a/src/dispnew.c Fri Jan 09 23:06:13 1998 +0000 +++ b/src/dispnew.c Fri Jan 09 23:07:47 1998 +0000 @@ -2249,12 +2249,13 @@ (string) Lisp_Object string; { + /* ??? Perhaps we should do something special for multibyte strings here. */ CHECK_STRING (string, 0); - fwrite (XSTRING (string)->data, 1, XSTRING (string)->size, stdout); + fwrite (XSTRING (string)->data, 1, XSTRING (string)->size_byte, stdout); fflush (stdout); if (termscript) { - fwrite (XSTRING (string)->data, 1, XSTRING (string)->size, termscript); + fwrite (XSTRING (string)->data, 1, XSTRING (string)->size_byte, termscript); fflush (termscript); } return Qnil;