aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenichi Handa1999-12-15 00:17:25 +0000
committerKenichi Handa1999-12-15 00:17:25 +0000
commit19a86a032e8476153e01183c6462a9f89dd5ed9b (patch)
tree2c99f5e293abd9ceffe0417cb6b23c9230c28c09 /src
parent449fea39770775819ba99eafc124ceeb97a280e2 (diff)
downloademacs-19a86a032e8476153e01183c6462a9f89dd5ed9b.tar.gz
emacs-19a86a032e8476153e01183c6462a9f89dd5ed9b.zip
(printchar): Adjusted for the change of CHAR_STRING.
Diffstat (limited to 'src')
-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)
316 call1 (fun, make_number (ch)); 316 call1 (fun, make_number (ch));
317 else 317 else
318 { 318 {
319 unsigned char work[4], *str; 319 unsigned char str[MAX_MULTIBYTE_LENGTH];
320 int len = CHAR_STRING (ch, work, str); 320 int len = CHAR_STRING (ch, str);
321 321
322 QUIT; 322 QUIT;
323 323
324 if (NILP (fun)) 324 if (NILP (fun))