summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>2001-03-12 12:49:02 +0000
committerGerd Moellmann <gerd@gnu.org>2001-03-12 12:49:02 +0000
commitb6a15240fff6403fea9bb4aef3d951c2c73c1008 (patch)
treea18819dfdd3d5c0e614e288bc094f2cdaead7635 /src
parent1790abf4250059b69b7be98fb129d41106ff1f4a (diff)
downloademacs-b6a15240fff6403fea9bb4aef3d951c2c73c1008.tar.gz
(x_load_resources) [USE_MOTIF]: Remove extraneous arg
to sprintf.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/xrdb.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 06dac9fc64e..864a123c94c 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
+2001-03-12 Gerd Moellmann <gerd@gnu.org>
+
+ * xrdb.c (x_load_resources) [USE_MOTIF]: Remove extraneous arg
+ to sprintf.
+
2001-03-09 Gerd Moellmann <gerd@gnu.org>
* dispextern.h (string_buffer_position): Add prototype.
diff --git a/src/xrdb.c b/src/xrdb.c
index ba6e660285c..632e447e851 100644
--- a/src/xrdb.c
+++ b/src/xrdb.c
@@ -1,5 +1,5 @@
/* Deal with the X Resource Manager.
- Copyright (C) 1990, 1993, 1994 Free Software Foundation.
+ Copyright (C) 1990, 1993, 1994, 2000, 2001 Free Software Foundation.
This file is part of GNU Emacs.
@@ -548,7 +548,7 @@ x_load_resources (display, xrm_string, myname, myclass)
XrmPutLineResource (&rdb, line);
sprintf (line, "%s*menu*background: grey75", myclass);
XrmPutLineResource (&rdb, line);
- sprintf (line, "%s*menubar*background: grey75", myclass, helv);
+ sprintf (line, "%s*menubar*background: grey75", myclass);
XrmPutLineResource (&rdb, line);
sprintf (line, "%s*verticalScrollBar.background: grey75", myclass);
XrmPutLineResource (&rdb, line);