From: Eli Zaretskii Date: Sun, 20 Feb 2000 13:04:39 +0000 (+0000) Subject: (IT_write_glyphs): Allocate a larger screen_buf as data X-Git-Tag: emacs-pretest-21.0.90~4959 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=241424da1bbb09e99d274eb531260dc05841f699;p=emacs.git (IT_write_glyphs): Allocate a larger screen_buf as data produced for CODING_MODE_LAST_BLOCK requires. --- diff --git a/src/msdos.c b/src/msdos.c index 9090f804c31..c565edfc299 100644 --- a/src/msdos.c +++ b/src/msdos.c @@ -940,6 +940,7 @@ IT_write_glyphs (struct glyph *str, int str_len) encode_coding (coding, "", conversion_buffer, 0, conversion_buffer_size); if (coding->produced > 0) { + screen_buf = alloca (coding->produced * 2); for (screen_bp = screen_buf, bp = conversion_buffer; coding->produced--; bp++) {