summaryrefslogtreecommitdiff
path: root/src/print.c
diff options
context:
space:
mode:
authorKenichi Handa <handa@m17n.org>1999-12-15 00:17:25 +0000
committerKenichi Handa <handa@m17n.org>1999-12-15 00:17:25 +0000
commit19a86a032e8476153e01183c6462a9f89dd5ed9b (patch)
tree2c99f5e293abd9ceffe0417cb6b23c9230c28c09 /src/print.c
parent449fea39770775819ba99eafc124ceeb97a280e2 (diff)
downloademacs-19a86a032e8476153e01183c6462a9f89dd5ed9b.tar.gz
(printchar): Adjusted for the change of CHAR_STRING.
Diffstat (limited to 'src/print.c')
-rw-r--r--src/print.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/print.c b/src/print.c
index 32ee03050b3..2d1f13aadd5 100644
--- a/src/print.c
+++ b/src/print.c
@@ -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))