diff options
Diffstat (limited to 'src')
| -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), |