1
0
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:
Kenichi Handa 2001-01-19 05:22:51 +00:00
parent 417ef8f6f8
commit 2d75794b0e

View File

@ -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