From 6e846fdc697224b69a6fdc02871700dad1fe20da Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Sat, 1 Dec 2007 02:41:23 +0000 Subject: [PATCH] (set_font_frame_param): Adjusted for the change of font_find_for_lface. --- src/xfaces.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xfaces.c b/src/xfaces.c index 206dc685814..65e70bdd7c4 100644 --- a/src/xfaces.c +++ b/src/xfaces.c @@ -4790,7 +4790,7 @@ set_font_frame_param (frame, lface) font_name = LFACE_FONT (lface); else { - font_name = font_find_for_lface (f, &AREF (lface, 0), Qnil); + font_name = font_find_for_lface (f, &AREF (lface, 0), Qnil, -1); if (NILP (font_name)) error ("No font matches the specified attribute"); font_name = font_open_for_lface (f, font_name, &AREF (lface, 0), -- 2.39.5