changeset 65485:6dd5312b60a7

(print_error_message): Fix last change.
author Kim F. Storm <storm@cua.dk>
date Mon, 12 Sep 2005 23:10:59 +0000
parents d4ba4c352e56
children a11f2349c353
files src/print.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/print.c	Mon Sep 12 23:10:48 2005 +0000
+++ b/src/print.c	Mon Sep 12 23:10:59 2005 +0000
@@ -1028,7 +1028,7 @@
       Lisp_Object cname = SYMBOL_NAME (caller);
       char *name = alloca (SBYTES (cname));
       bcopy (SDATA (cname), name, SBYTES (cname));
-      message_dolog (name, strlen (name), 0, 0);
+      message_dolog (name, SBYTES (cname), 0, 0);
       message_dolog (": ", 2, 0, 0);
     }