Mercurial > emacs
changeset 29097:8b0db3f5a010
(encode_terminal_code): Set coding->src_multibyte properly.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Tue, 23 May 2000 01:33:40 +0000 |
parents | 88c9d3014e49 |
children | c8a95c4dfd18 |
files | src/term.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/term.c Tue May 23 01:33:11 2000 +0000 +++ b/src/term.c Tue May 23 01:33:40 2000 +0000 @@ -972,11 +972,13 @@ { len = 1; buf = " "; + coding->src_multibyte = 0; } else { len = CHAR_STRING (src->u.ch, workbuf); buf = workbuf; + coding->src_multibyte = 1; } } else @@ -993,12 +995,14 @@ workbuf[0] = FAST_GLYPH_CHAR (g); len = 1; buf = workbuf; + coding->src_multibyte = 0; } else { /* We have a string in Vglyph_table. */ len = GLYPH_LENGTH (tbase, g); buf = GLYPH_STRING (tbase, g); + coding->src_multibyte = STRING_MULTIBYTE (tbase[g]); } }