diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/frame.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/frame.c b/src/frame.c index 7074e14077e..52733044f7a 100644 --- a/src/frame.c +++ b/src/frame.c | |||
| @@ -3399,10 +3399,11 @@ x_set_font (f, arg, oldval) | |||
| 3399 | else if (FONT_OBJECT_P (arg)) | 3399 | else if (FONT_OBJECT_P (arg)) |
| 3400 | { | 3400 | { |
| 3401 | font_object = arg; | 3401 | font_object = arg; |
| 3402 | /* This is store the XLFD font name in the frame parameter for | 3402 | /* This is to store the XLFD font name in the frame parameter for |
| 3403 | backward compatiblity. We should store the font-object | 3403 | backward compatiblity. We should store the font-object |
| 3404 | itself in the future. */ | 3404 | itself in the future. */ |
| 3405 | arg = AREF (font_object, FONT_NAME_INDEX); | 3405 | arg = AREF (font_object, FONT_NAME_INDEX); |
| 3406 | fontset = FRAME_FONTSET (f); | ||
| 3406 | } | 3407 | } |
| 3407 | else | 3408 | else |
| 3408 | signal_error ("Invalid font", arg); | 3409 | signal_error ("Invalid font", arg); |