aboutsummaryrefslogtreecommitdiffstats
path: root/src/term.c
diff options
context:
space:
mode:
authorKenichi Handa2000-01-04 01:58:49 +0000
committerKenichi Handa2000-01-04 01:58:49 +0000
commitc989b7be8fac79e6fc150a800a8e059879223683 (patch)
tree61bd30ba4d3b064276082569c7c21c8aed111126 /src/term.c
parente0a09e1a04a6a9059d56e7096331997ff11e2a6c (diff)
downloademacs-c989b7be8fac79e6fc150a800a8e059879223683.tar.gz
emacs-c989b7be8fac79e6fc150a800a8e059879223683.zip
(encode_terminal_code): Fix the previous change.
Diffstat (limited to 'src/term.c')
-rw-r--r--src/term.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/term.c b/src/term.c
index d4ea6a6f2f7..b19e9623b57 100644
--- a/src/term.c
+++ b/src/term.c
@@ -966,8 +966,11 @@ encode_terminal_code (src, dst, src_len, dst_len, consumed)
966 966
967 if (GLYPH_SIMPLE_P (tbase, tlen, g)) 967 if (GLYPH_SIMPLE_P (tbase, tlen, g))
968 { 968 {
969 /* We set the multi-byte form of C at WORKBUF. */ 969 /* We set the multi-byte form of a character in G
970 len = CHAR_STRING (src->u.ch, workbuf); 970 (that should be an ASCII character) at
971 WORKBUF. */
972 workbuf[0] = FAST_GLYPH_CHAR (g);
973 len = 1;
971 buf = workbuf; 974 buf = workbuf;
972 } 975 }
973 else 976 else