From 796184bc2047de12f0cfe7ae178be236f5a0256a Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Thu, 11 May 2000 15:43:37 +0000 Subject: [PATCH] (add_to_log): Pass 1 byte less to message_dolog. --- src/xdisp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xdisp.c b/src/xdisp.c index 46bf091230f..b632312f405 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -4702,7 +4702,7 @@ add_to_log (format, arg1, arg2) buffer = (char *) alloca (len); strcpy (buffer, XSTRING (msg)->data); - message_dolog (buffer, len, 1, 0); + message_dolog (buffer, len - 1, 1, 0); UNGCPRO; } -- 2.39.5