mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-17 10:06:13 +00:00
(doprnt1): If lispstrings, accept a string
as a `struct Lisp_String *'.
This commit is contained in:
parent
0f26b958d8
commit
857c4c675f
@ -201,8 +201,8 @@ doprnt1 (lispstrings, buffer, bufsize, format, format_end, nargs, args)
|
||||
minlen = atoi (&fmtcpy[1]);
|
||||
if (lispstrings)
|
||||
{
|
||||
string = (char *) XSTRING (((Lisp_Object *) args)[cnt])->data;
|
||||
tem = XSTRING (((Lisp_Object *) args)[cnt])->size;
|
||||
string = (char *) ((struct Lisp_String *)args[cnt])->data;
|
||||
tem = ((struct Lisp_String *)args[cnt])->size;
|
||||
cnt++;
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user