# HG changeset patch # User Kenichi Handa # Date 1096853015 0 # Node ID 66fccc455c7a019616201f4ac8772479921c6960 # Parent 226b3b1d1affdbd39cecc3ffe5096d3efa218abe (message_dolog, set_message_1): Call unibyte_char_to_multibyte with arg type int. diff -r 226b3b1d1aff -r 66fccc455c7a src/xdisp.c --- 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); }