aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ChangeLog5
-rw-r--r--src/term.c7
2 files changed, 11 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 5b4fac632bd..ec9e4a4d6cc 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12010-08-29 Kenichi Handa <handa@m17n.org>
2
3 * term.c (encode_terminal_code): Encode byte chars to the
4 correspnding bytes.
5
12010-08-17 Andreas Schwab <schwab@linux-m68k.org> 62010-08-17 Andreas Schwab <schwab@linux-m68k.org>
2 7
3 * eval.c (Flet, Feval, Fapply, apply_lambda): Use SAFE_ALLOCA_LISP 8 * eval.c (Flet, Feval, Fapply, apply_lambda): Use SAFE_ALLOCA_LISP
diff --git a/src/term.c b/src/term.c
index 7adaeeac1ae..868b596dc1a 100644
--- a/src/term.c
+++ b/src/term.c
@@ -695,7 +695,12 @@ encode_terminal_code (src, src_len, coding)
695 encode_terminal_src_size); 695 encode_terminal_src_size);
696 buf = encode_terminal_src + nbytes; 696 buf = encode_terminal_src + nbytes;
697 } 697 }
698 if (char_charset (c, charset_list, NULL)) 698 if (CHAR_BYTE8_P (c))
699 {
700 *buf++ = CHAR_TO_BYTE8 (c);
701 nchars++;
702 }
703 else if (char_charset (c, charset_list, NULL))
699 { 704 {
700 /* Store the multibyte form of C at BUF. */ 705 /* Store the multibyte form of C at BUF. */
701 buf += CHAR_STRING (c, buf); 706 buf += CHAR_STRING (c, buf);