Mercurial > emacs
diff src/dispnew.c @ 20618:d5acac3af6e3
(Fsend_string_to_terminal): Use size_byte.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 09 Jan 1998 23:07:47 +0000 |
parents | c6343f7a9c6c |
children | ed9ed828415e |
line wrap: on
line diff
--- 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;