diff options
| author | Kenichi Handa | 1998-08-18 13:15:18 +0000 |
|---|---|---|
| committer | Kenichi Handa | 1998-08-18 13:15:18 +0000 |
| commit | 1814bd62c5029fb0589f1b755c1605316f0b671f (patch) | |
| tree | 7892a78fdff4d7013e0e2f1f233f732cdacb1274 /src | |
| parent | b638f328462cc23405bdccfd6ba313b4c66d96e3 (diff) | |
| download | emacs-1814bd62c5029fb0589f1b755c1605316f0b671f.tar.gz emacs-1814bd62c5029fb0589f1b755c1605316f0b671f.zip | |
(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.
Diffstat (limited to 'src')
| -rw-r--r-- | src/term.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/term.c b/src/term.c index 05860cf7bd4..de48cb0eb88 100644 --- a/src/term.c +++ b/src/term.c | |||
| @@ -930,7 +930,7 @@ write_glyphs (string, len) | |||
| 930 | if (CODING_REQUIRE_FLUSHING (&terminal_coding)) | 930 | if (CODING_REQUIRE_FLUSHING (&terminal_coding)) |
| 931 | { | 931 | { |
| 932 | terminal_coding.mode |= CODING_MODE_LAST_BLOCK; | 932 | terminal_coding.mode |= CODING_MODE_LAST_BLOCK; |
| 933 | encode_coding (&terminal_coding, (char *)0, conversion_buffer, | 933 | encode_coding (&terminal_coding, "", conversion_buffer, |
| 934 | 0, conversion_buffer_size); | 934 | 0, conversion_buffer_size); |
| 935 | if (terminal_coding.produced > 0) | 935 | if (terminal_coding.produced > 0) |
| 936 | { | 936 | { |