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:
parent
959804a08d
commit
91f045dfa3
1 changed files with 2 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue