]> git.eshelyaron.com Git - emacs.git/commitdiff
(encode_terminal_code): Fix the previous change.
authorKenichi Handa <handa@m17n.org>
Tue, 4 Jan 2000 01:58:49 +0000 (01:58 +0000)
committerKenichi Handa <handa@m17n.org>
Tue, 4 Jan 2000 01:58:49 +0000 (01:58 +0000)
src/ChangeLog
src/term.c

index 88afe13be4c90cfdb86b44ab6c2ad855486f60a7..af1a944ef919ec1bdcf3026bcbd147d9d3cdba57 100644 (file)
@@ -1,6 +1,6 @@
 2000-01-04  Kenichi Handa  <handa@etl.go.jp>
 
-       * term.c (encode_terminal_code): Fix the previous change.
+       * term.c (encode_terminal_code): Fix previous change.
 
 2000-01-03  Gerd Moellmann  <gerd@gnu.org>
 
index d4ea6a6f2f7d5a03beefb5da7f594e0863437b13..b19e9623b57dc2eb11f760a12e32179b4f8f8855 100644 (file)
@@ -966,8 +966,11 @@ encode_terminal_code (src, dst, src_len, dst_len, consumed)
 
              if (GLYPH_SIMPLE_P (tbase, tlen, g))
                {
-                 /* We set the multi-byte form of C at WORKBUF.  */
-                 len = CHAR_STRING (src->u.ch, workbuf);
+                 /* We set the multi-byte form of a character in G
+                    (that should be an ASCII character) at
+                    WORKBUF.  */
+                 workbuf[0] = FAST_GLYPH_CHAR (g);
+                 len = 1;
                  buf = workbuf;
                }
              else