1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-18 12:00:38 -07:00

(doprnt1): Adjusted for the change of CHAR_STRING.

This commit is contained in:
Kenichi Handa 1999-12-15 00:09:57 +00:00
parent 959804a08d
commit 91f045dfa3

View file

@ -301,7 +301,8 @@ doprnt1 (lispstrings, buffer, bufsize, format, format_end, nargs, args)
case 'c':
if (cnt == nargs)
error ("not enough arguments for format string");
tem = CHAR_STRING ((int) (EMACS_INT) args[cnt], charbuf, string);
tem = CHAR_STRING ((int) (EMACS_INT) args[cnt], charbuf);
string = charbuf;
cnt++;
string[tem] = 0;
width = strwidth (string, tem);