From: Gerd Moellmann Date: Thu, 11 May 2000 15:43:37 +0000 (+0000) Subject: (add_to_log): Pass 1 byte less to message_dolog. X-Git-Tag: emacs-pretest-21.0.90~3993 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=796184bc2047de12f0cfe7ae178be236f5a0256a;p=emacs.git (add_to_log): Pass 1 byte less to message_dolog. --- 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; }