From b6a15240fff6403fea9bb4aef3d951c2c73c1008 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Mon, 12 Mar 2001 12:49:02 +0000 Subject: [PATCH] (x_load_resources) [USE_MOTIF]: Remove extraneous arg to sprintf. --- src/ChangeLog | 5 +++++ src/xrdb.c | 4 ++-- 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 + + * xrdb.c (x_load_resources) [USE_MOTIF]: Remove extraneous arg + to sprintf. + 2001-03-09 Gerd Moellmann * 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); -- 2.11.4.GIT