changeset 28876:04cbb0510d7e

(add_to_log): Pass 1 byte less to message_dolog.
author Gerd Moellmann <gerd@gnu.org>
date Thu, 11 May 2000 15:43:37 +0000
parents e1d006c5bcde
children 607e317d50b5
files src/xdisp.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Thu May 11 14:44:17 2000 +0000
+++ b/src/xdisp.c	Thu May 11 15:43:37 2000 +0000
@@ -4702,7 +4702,7 @@
   buffer = (char *) alloca (len);
   strcpy (buffer, XSTRING (msg)->data);
   
-  message_dolog (buffer, len, 1, 0);
+  message_dolog (buffer, len - 1, 1, 0);
   UNGCPRO;
 }