From: Gerd Moellmann Date: Mon, 26 Mar 2001 12:04:33 +0000 (+0000) Subject: (x_update_menu_appearance): Use local variable X-Git-Tag: emacs-pretest-21.0.101~166 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2eddf89900b6e82d067d0aaecdafd473a83ecd7e;p=emacs.git (x_update_menu_appearance): Use local variable popup_path for setting font resources. --- diff --git a/src/ChangeLog b/src/ChangeLog index 3281ff8fef1..07463e8e178 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2001-03-26 Gerd Moellmann + + * xfaces.c (x_update_menu_appearance): Use local variable + popup_path for setting font resources. + 2001-03-25 Eli Zaretskii * frame.c (Fframe_list): Don't reference tip_frame if diff --git a/src/xfaces.c b/src/xfaces.c index 8e0fdc21727..9384ba6cfdb 100644 --- a/src/xfaces.c +++ b/src/xfaces.c @@ -4415,8 +4415,8 @@ x_update_menu_appearance (f) sprintf (line, "%s.pane.menubar*font%s: %s", myname, suffix, face->font_name); XrmPutLineResource (&rdb, line); - sprintf (line, "%s.popup_menu*font%s: %s", - myname, suffix, face->font_name); + sprintf (line, "%s.%s*font%s: %s", + myname, popup_path, suffix, face->font_name); XrmPutLineResource (&rdb, line); changed_p = 1; }