diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/xfaces.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xfaces.c b/src/xfaces.c index 4a404f2008c..660fa34d5cf 100644 --- a/src/xfaces.c +++ b/src/xfaces.c | |||
| @@ -4783,7 +4783,8 @@ set_font_frame_param (frame, lface) | |||
| 4783 | font_name = font_find_for_lface (f, &AREF (lface, 0), Qnil); | 4783 | font_name = font_find_for_lface (f, &AREF (lface, 0), Qnil); |
| 4784 | if (NILP (font_name)) | 4784 | if (NILP (font_name)) |
| 4785 | error ("No font matches the specified attribute"); | 4785 | error ("No font matches the specified attribute"); |
| 4786 | font_name = font_open_for_lface (f, &AREF (lface, 0), font_name); | 4786 | font_name = font_open_for_lface (f, font_name, &AREF (lface, 0), |
| 4787 | Qnil); | ||
| 4787 | if (NILP (font_name)) | 4788 | if (NILP (font_name)) |
| 4788 | error ("No font matches the specified attribute"); | 4789 | error ("No font matches the specified attribute"); |
| 4789 | } | 4790 | } |