aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/doprnt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doprnt.c b/src/doprnt.c
index 7bcb6741677..3fd6222c9d7 100644
--- a/src/doprnt.c
+++ b/src/doprnt.c
@@ -240,7 +240,7 @@ doprnt1 (lispstrings, buffer, bufsize, format, format_end, nargs, args)
240 if (lispstrings) 240 if (lispstrings)
241 { 241 {
242 string = ((struct Lisp_String *)args[cnt])->data; 242 string = ((struct Lisp_String *)args[cnt])->data;
243 tem = ((struct Lisp_String *)args[cnt])->size; 243 tem = STRING_BYTES ((struct Lisp_String *)args[cnt]);
244 cnt++; 244 cnt++;
245 } 245 }
246 else 246 else