]> git.eshelyaron.com Git - emacs.git/commitdiff
(set_font_frame_param): Adjusted for the change of
authorKenichi Handa <handa@m17n.org>
Wed, 25 Apr 2007 11:58:35 +0000 (11:58 +0000)
committerKenichi Handa <handa@m17n.org>
Wed, 25 Apr 2007 11:58:35 +0000 (11:58 +0000)
font_open_for_lface.

src/xfaces.c

index 4a404f2008ce69993504dd229171d6566c62f44a..660fa34d5cf4a205d9934218ed8fe0d658f30eb3 100644 (file)
@@ -4783,7 +4783,8 @@ set_font_frame_param (frame, lface)
              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");
            }