changeset 27775:5e0dd203f6e1

(IT_write_glyphs): Allocate a larger screen_buf as data produced for CODING_MODE_LAST_BLOCK requires.
author Eli Zaretskii <eliz@gnu.org>
date Sun, 20 Feb 2000 13:04:39 +0000
parents 097c2dd9367a
children 875e912a1a51
files src/msdos.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/msdos.c	Sun Feb 20 12:34:49 2000 +0000
+++ b/src/msdos.c	Sun Feb 20 13:04:39 2000 +0000
@@ -940,6 +940,7 @@
       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++)
 	    {