]> git.eshelyaron.com Git - emacs.git/commitdiff
* src/nsfont.m (nsfont_open): Fix Ffont_xlfd_name args.
authorMichael Albinus <michael.albinus@gmx.de>
Fri, 12 Jan 2024 15:19:42 +0000 (16:19 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Fri, 12 Jan 2024 15:19:42 +0000 (16:19 +0100)
src/nsfont.m

index 1205fbe526316a1037759df924b27bebab3b4471..2679a42e1e17c9b0acbcb984e645ca42907876a7 100644 (file)
@@ -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 ();