From 241424da1bbb09e99d274eb531260dc05841f699 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sun, 20 Feb 2000 13:04:39 +0000 Subject: [PATCH] (IT_write_glyphs): Allocate a larger screen_buf as data produced for CODING_MODE_LAST_BLOCK requires. --- src/msdos.c | 1 + 1 file changed, 1 insertion(+) 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++) { -- 2.39.5