diff options
Diffstat (limited to 'src/nsfont.m')
-rw-r--r-- | src/nsfont.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nsfont.m b/src/nsfont.m index 1205fbe5263..4e1d85a5c4a 100644 --- a/src/nsfont.m +++ b/src/nsfont.m @@ -601,7 +601,7 @@ static NSString { Lisp_Object script = assq_no_quit (XCAR (otf), Votf_script_alist); return CONSP (script) - ? [NSString stringWithLispString: SYMBOL_NAME (XCDR ((script)))] + ? [NSString stringWithLispString: SYMBOL_NAME (XCDR (script))] : @""; } @@ -1035,7 +1035,7 @@ nsfont_open (struct frame *f, Lisp_Object font_entity, int pixel_size) font->underline_position = lrint (font_info->underpos); font->underline_thickness = lrint (font_info->underwidth); - font->props[FONT_NAME_INDEX] = Ffont_xlfd_name (font_object, Qnil); + font->props[FONT_NAME_INDEX] = Ffont_xlfd_name (font_object, Qnil, Qnil); font->props[FONT_FULLNAME_INDEX] = build_unibyte_string (font_info->name); } unblock_input (); |