From 2eddf89900b6e82d067d0aaecdafd473a83ecd7e Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Mon, 26 Mar 2001 12:04:33 +0000 Subject: [PATCH] (x_update_menu_appearance): Use local variable popup_path for setting font resources. --- src/ChangeLog | 5 +++++ src/xfaces.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) 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; } -- 2.39.2