[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/emacs-23 r100010: term.c (encode_terminal_c
From: |
Kenichi Handa |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/emacs-23 r100010: term.c (encode_terminal_code): Encode byte chars to the correspnding bytes. |
Date: |
Sun, 29 Aug 2010 14:24:08 +0900 |
User-agent: |
Bazaar (2.0.3) |
------------------------------------------------------------
revno: 100010 [merge]
committer: Kenichi Handa <address@hidden>
branch nick: emacs-23
timestamp: Sun 2010-08-29 14:24:08 +0900
message:
term.c (encode_terminal_code): Encode byte chars to the correspnding bytes.
modified:
src/ChangeLog
src/term.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2010-08-17 21:07:50 +0000
+++ b/src/ChangeLog 2010-08-29 05:15:34 +0000
@@ -1,3 +1,8 @@
+2010-08-29 Kenichi Handa <address@hidden>
+
+ * term.c (encode_terminal_code): Encode byte chars to the
+ correspnding bytes.
+
2010-08-17 Andreas Schwab <address@hidden>
* eval.c (Flet, Feval, Fapply, apply_lambda): Use SAFE_ALLOCA_LISP
=== modified file 'src/term.c'
--- a/src/term.c 2010-02-19 13:57:53 +0000
+++ b/src/term.c 2010-08-29 05:15:34 +0000
@@ -695,7 +695,12 @@
encode_terminal_src_size);
buf = encode_terminal_src + nbytes;
}
- if (char_charset (c, charset_list, NULL))
+ if (CHAR_BYTE8_P (c))
+ {
+ *buf++ = CHAR_TO_BYTE8 (c);
+ nchars++;
+ }
+ else if (char_charset (c, charset_list, NULL))
{
/* Store the multibyte form of C at BUF. */
buf += CHAR_STRING (c, buf);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/emacs-23 r100010: term.c (encode_terminal_code): Encode byte chars to the correspnding bytes.,
Kenichi Handa <=