changeset 36996:46d9cc8def79

(x_update_menu_appearance): Use local variable popup_path for setting font resources.
author Gerd Moellmann <gerd@gnu.org>
date Mon, 26 Mar 2001 12:04:06 +0000
parents eba40b9dc09b
children 532e8252091f
files src/xfaces.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/xfaces.c	Mon Mar 26 11:39:24 2001 +0000
+++ b/src/xfaces.c	Mon Mar 26 12:04:06 2001 +0000
@@ -4415,8 +4415,8 @@
 	  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;
 	}