Mercurial > emacs
changeset 89999:66fccc455c7a
(message_dolog, set_message_1): Call
unibyte_char_to_multibyte with arg type int.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Mon, 04 Oct 2004 01:23:35 +0000 |
parents | 226b3b1d1aff |
children | a61d4f087213 |
files | src/xdisp.c |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xdisp.c Mon Oct 04 01:21:43 2004 +0000 +++ b/src/xdisp.c Mon Oct 04 01:23:35 2004 +0000 @@ -6566,7 +6566,8 @@ for the *Message* buffer. */ for (i = 0; i < nbytes; i++) { - c = unibyte_char_to_multibyte (msg[i]); + c = msg[i]; + c = unibyte_char_to_multibyte (c); char_bytes = CHAR_STRING (c, str); insert_1_both (str, 1, char_bytes, 1, 0, 0); } @@ -7837,7 +7838,8 @@ /* Convert a single-byte string to multibyte. */ for (i = 0; i < nbytes; i++) { - c = unibyte_char_to_multibyte (msg[i]); + c = msg[i]; + c = unibyte_char_to_multibyte (c); n = CHAR_STRING (c, str); insert_1_both (str, 1, n, 1, 0, 0); }