diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/print.c | 6 |
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)) |