changeset 90814:4ed9c852b856

(set_font_frame_param): Adjusted for the change of font_open_for_lface.
author Kenichi Handa <handa@m17n.org>
date Wed, 25 Apr 2007 11:58:35 +0000
parents e6fdae9180d4
children d0368a3e5450
files src/xfaces.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xfaces.c	Tue Apr 24 21:56:25 2007 +0000
+++ b/src/xfaces.c	Wed Apr 25 11:58:35 2007 +0000
@@ -4783,7 +4783,8 @@
 	      font_name = font_find_for_lface (f, &AREF (lface, 0), Qnil);
 	      if (NILP (font_name))
 		error ("No font matches the specified attribute");
-	      font_name = font_open_for_lface (f, &AREF (lface, 0), font_name);
+	      font_name = font_open_for_lface (f, font_name, &AREF (lface, 0),
+					       Qnil);
 	      if (NILP (font_name))
 		error ("No font matches the specified attribute");
 	    }