From: Kenichi Handa Date: Wed, 16 Aug 2000 01:38:04 +0000 (+0000) Subject: (IT_write_glyphs): Use a locally declared conversion_buffer. X-Git-Tag: emacs-pretest-21.0.90~2279 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=648648a9cb9c7444c7e914d7835090869441c487;p=emacs.git (IT_write_glyphs): Use a locally declared conversion_buffer. --- 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);