Mercurial > emacs
changeset 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 | 20957e3ca2f5 |
children | 0a559893331d |
files | src/dispnew.c |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
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;