changeset 23066:d40f9a8d7779

(write_glyphs): When terminal_coding require flushing, call encode_coding with "" as the SOURCE arg so that ccl_driver correctly processes eof block of a CCL program.
author Kenichi Handa <handa@m17n.org>
date Tue, 18 Aug 1998 13:15:18 +0000
parents 26b311ef19c6
children ac788ee31080
files src/term.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/term.c	Tue Aug 18 11:12:25 1998 +0000
+++ b/src/term.c	Tue Aug 18 13:15:18 1998 +0000
@@ -930,7 +930,7 @@
   if (CODING_REQUIRE_FLUSHING (&terminal_coding))
     {
       terminal_coding.mode |= CODING_MODE_LAST_BLOCK;
-      encode_coding (&terminal_coding, (char *)0, conversion_buffer,
+      encode_coding (&terminal_coding, "", conversion_buffer,
 		     0, conversion_buffer_size);
       if (terminal_coding.produced > 0)
 	{