]> git.eshelyaron.com Git - emacs.git/commitdiff
(printchar): Adjusted for the change of CHAR_STRING.
authorKenichi Handa <handa@m17n.org>
Wed, 15 Dec 1999 00:17:25 +0000 (00:17 +0000)
committerKenichi Handa <handa@m17n.org>
Wed, 15 Dec 1999 00:17:25 +0000 (00:17 +0000)
src/print.c

index 32ee03050b321d3427e9e9254e990bc11f208546..2d1f13aadd550874d36f4e9404ff53154fe5d9aa 100644 (file)
@@ -316,9 +316,9 @@ printchar (ch, fun)
     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))