changeset 26867:b633c8e0fee1

(printchar): Adjusted for the change of CHAR_STRING.
author Kenichi Handa <handa@m17n.org>
date Wed, 15 Dec 1999 00:17:25 +0000
parents 305531847450
children edeeffd7d8c7
files src/print.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/print.c	Wed Dec 15 00:17:03 1999 +0000
+++ b/src/print.c	Wed Dec 15 00:17:25 1999 +0000
@@ -316,9 +316,9 @@
     call1 (fun, make_number (ch));
   else
     {
-      unsigned char work[4], *str;
-      int len = CHAR_STRING (ch, work, str);
-    
+      unsigned char str[MAX_MULTIBYTE_LENGTH];
+      int len = CHAR_STRING (ch, str);
+
       QUIT;
       
       if (NILP (fun))