changeset 35409:0ff464da2a0a

(doprnt1): Get byte length of Lisp string correctly.
author Kenichi Handa <handa@m17n.org>
date Fri, 19 Jan 2001 05:22:51 +0000
parents 9a2cf1e0032c
children 94d2751dcb5c
files src/doprnt.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/doprnt.c	Fri Jan 19 05:22:38 2001 +0000
+++ b/src/doprnt.c	Fri Jan 19 05:22:51 2001 +0000
@@ -240,7 +240,7 @@
 	      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