* src/fontset.c (check_fontset_name): Fix last change.
This commit is contained in:
parent
1da5b2c60b
commit
d9bc7dbefd
1 changed files with 1 additions and 1 deletions
|
@ -1356,7 +1356,7 @@ check_fontset_name (Lisp_Object name, Lisp_Object *frame)
|
|||
int id;
|
||||
struct frame *f = decode_live_frame (*frame);
|
||||
|
||||
if (!FRAME_WINDOW_P (f))
|
||||
if (!FRAME_WINDOW_P (f) && !FRAME_INITIAL_P (f))
|
||||
error ("Can't use fontsets in non-GUI frames");
|
||||
|
||||
XSETFRAME (*frame, f);
|
||||
|
|
Loading…
Add table
Reference in a new issue