aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/dispnew.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/dispnew.c b/src/dispnew.c
index a7441b990d6..8b4709acea5 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -2249,12 +2249,13 @@ 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;