From 648648a9cb9c7444c7e914d7835090869441c487 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Wed, 16 Aug 2000 01:38:04 +0000 Subject: [PATCH] (IT_write_glyphs): Use a locally declared conversion_buffer. --- src/msdos.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/msdos.c b/src/msdos.c index a711f84cf13..180e8a42683 100644 --- a/src/msdos.c +++ b/src/msdos.c @@ -947,6 +947,9 @@ IT_write_glyphs (struct glyph *str, int str_len) = (NILP (current_buffer->enable_multibyte_characters) && unibyte_display_via_language_environment); + unsigned char conversion_buffer[256]; + int conversion_buffer_size = sizeof conversion_buffer; + if (str_len <= 0) return; screen_buf = screen_bp = alloca (str_len * 2); -- 2.39.2