]> git.eshelyaron.com Git - emacs.git/commitdiff
(x_update_menu_appearance): Use local variable
authorGerd Moellmann <gerd@gnu.org>
Mon, 26 Mar 2001 12:04:33 +0000 (12:04 +0000)
committerGerd Moellmann <gerd@gnu.org>
Mon, 26 Mar 2001 12:04:33 +0000 (12:04 +0000)
popup_path for setting font resources.

src/ChangeLog
src/xfaces.c

index 3281ff8fef11df1df6503d8d6e3357590bf5d4d6..07463e8e17844e79cf43a52ee3c518d8c3df08e1 100644 (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
index 8e0fdc21727729772cc0aa283defacc803c1e8cb..9384ba6cfdbb814ea800298992f5e9a0e27e184a 100644 (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;
        }