changeset 91141:833744ce7f09

(set_font_frame_param): Adjusted for the change of font_find_for_lface.
author Kenichi Handa <handa@m17n.org>
date Sat, 01 Dec 2007 02:41:23 +0000
parents 6ab6b7928830
children 4bcf0716ddf4
files src/xfaces.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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),