Mercurial > emacs
comparison 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 |
comparison
equal
deleted
inserted
replaced
20617:20957e3ca2f5 | 20618:d5acac3af6e3 |
---|---|
2247 "Send STRING to the terminal without alteration.\n\ | 2247 "Send STRING to the terminal without alteration.\n\ |
2248 Control characters in STRING will have terminal-dependent effects.") | 2248 Control characters in STRING will have terminal-dependent effects.") |
2249 (string) | 2249 (string) |
2250 Lisp_Object string; | 2250 Lisp_Object string; |
2251 { | 2251 { |
2252 /* ??? Perhaps we should do something special for multibyte strings here. */ | |
2252 CHECK_STRING (string, 0); | 2253 CHECK_STRING (string, 0); |
2253 fwrite (XSTRING (string)->data, 1, XSTRING (string)->size, stdout); | 2254 fwrite (XSTRING (string)->data, 1, XSTRING (string)->size_byte, stdout); |
2254 fflush (stdout); | 2255 fflush (stdout); |
2255 if (termscript) | 2256 if (termscript) |
2256 { | 2257 { |
2257 fwrite (XSTRING (string)->data, 1, XSTRING (string)->size, termscript); | 2258 fwrite (XSTRING (string)->data, 1, XSTRING (string)->size_byte, termscript); |
2258 fflush (termscript); | 2259 fflush (termscript); |
2259 } | 2260 } |
2260 return Qnil; | 2261 return Qnil; |
2261 } | 2262 } |
2262 | 2263 |