# HG changeset patch # User Kenichi Handa # Date 1196476883 0 # Node ID 833744ce7f09ec68ba5cb777029290d2f9b16f26 # Parent 6ab6b7928830fa926d8633ceea2bff5b15d26563 (set_font_frame_param): Adjusted for the change of font_find_for_lface. diff -r 6ab6b7928830 -r 833744ce7f09 src/xfaces.c --- a/src/xfaces.c Sat Dec 01 02:41:05 2007 +0000 +++ b/src/xfaces.c Sat Dec 01 02:41:23 2007 +0000 @@ -4790,7 +4790,7 @@ 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),