1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-01 11:14:55 +00:00

(x_update_menu_appearance): Use local variable

popup_path for setting font resources.
This commit is contained in:
Gerd Moellmann 2001-03-26 12:04:33 +00:00
parent 43e5a7fe8b
commit 2eddf89900
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2001-03-26 Gerd Moellmann <gerd@gnu.org>
* xfaces.c (x_update_menu_appearance): Use local variable
popup_path for setting font resources.
2001-03-25 Eli Zaretskii <eliz@is.elta.co.il>
* frame.c (Fframe_list): Don't reference tip_frame if

View File

@ -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;
}