]> git.eshelyaron.com Git - emacs.git/commitdiff
(set_font_frame_param): Adjusted for the change of
authorKenichi Handa <handa@m17n.org>
Sat, 1 Dec 2007 02:41:23 +0000 (02:41 +0000)
committerKenichi Handa <handa@m17n.org>
Sat, 1 Dec 2007 02:41:23 +0000 (02:41 +0000)
font_find_for_lface.

src/xfaces.c

index 206dc685814376d11a5c91d964d7b4f1d66e8a08..65e70bdd7c41789c4573c42252e4ea3ec3c3a6d9 100644 (file)
@@ -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),