mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-18 18:05:07 +00:00
(doprnt1): Get byte length of Lisp string correctly.
This commit is contained in:
parent
417ef8f6f8
commit
2d75794b0e
@ -240,7 +240,7 @@ doprnt1 (lispstrings, buffer, bufsize, format, format_end, nargs, args)
|
||||
if (lispstrings)
|
||||
{
|
||||
string = ((struct Lisp_String *)args[cnt])->data;
|
||||
tem = ((struct Lisp_String *)args[cnt])->size;
|
||||
tem = STRING_BYTES ((struct Lisp_String *)args[cnt]);
|
||||
cnt++;
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user