diff options
| author | Kenichi Handa | 2007-12-01 02:41:23 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2007-12-01 02:41:23 +0000 |
| commit | 6e846fdc697224b69a6fdc02871700dad1fe20da (patch) | |
| tree | a4249f91a07b7788486f50b1a1731ebefed90309 | |
| parent | f08696c668bb1514996bb3245ca357baad63fe64 (diff) | |
| download | emacs-6e846fdc697224b69a6fdc02871700dad1fe20da.tar.gz emacs-6e846fdc697224b69a6fdc02871700dad1fe20da.zip | |
(set_font_frame_param): Adjusted for the change of
font_find_for_lface.
| -rw-r--r-- | src/xfaces.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
| 4790 | font_name = LFACE_FONT (lface); | 4790 | font_name = LFACE_FONT (lface); |
| 4791 | else | 4791 | else |
| 4792 | { | 4792 | { |
| 4793 | font_name = font_find_for_lface (f, &AREF (lface, 0), Qnil); | 4793 | font_name = font_find_for_lface (f, &AREF (lface, 0), Qnil, -1); |
| 4794 | if (NILP (font_name)) | 4794 | if (NILP (font_name)) |
| 4795 | error ("No font matches the specified attribute"); | 4795 | error ("No font matches the specified attribute"); |
| 4796 | font_name = font_open_for_lface (f, font_name, &AREF (lface, 0), | 4796 | font_name = font_open_for_lface (f, font_name, &AREF (lface, 0), |