From: Kenichi Handa Date: Tue, 3 Mar 1998 01:29:16 +0000 (+0000) Subject: (general_insert_function): Use X-Git-Tag: emacs-20.3~2039 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e3670faac703a09d907604e5d31bf86fa7d2441c;p=emacs.git (general_insert_function): Use unibyte_char_to_multibyte if an argument is character code. (Finsert_char): Use unibyte_char_to_multibyte. (string1): Cast ARGS to `char **' to avoid compiler warning. --- diff --git a/src/editfns.c b/src/editfns.c index 9fc69b74de9..3fd3d91de33 100644 --- a/src/editfns.c +++ b/src/editfns.c @@ -2454,7 +2454,7 @@ format1 (string1) args[2] = arg2; args[3] = arg3; args[4] = arg4; - doprnt (buf, sizeof buf, string1, (char *)0, 5, args); + doprnt (buf, sizeof buf, string1, (char *)0, 5, (char **) args); #else doprnt (buf, sizeof buf, string1, (char *)0, 5, &string1 + 1); #endif