changeset 95179:5c007b5b6cd8

(fontset_from_font, Ffontset_info): Add the 2nd arg in call of Ffont_xlfd_name.
author Kenichi Handa <handa@m17n.org>
date Thu, 22 May 2008 02:21:54 +0000
parents 4eed3c1f3e86
children 1520d3ef2a48
files src/fontset.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/fontset.c	Thu May 22 02:21:05 2008 +0000
+++ b/src/fontset.c	Thu May 22 02:21:54 2008 +0000
@@ -1602,7 +1602,7 @@
     }
   fontset_spec = Fcopy_font_spec (font_spec);
   ASET (fontset_spec, FONT_REGISTRY_INDEX, alias);
-  name = Ffont_xlfd_name (fontset_spec);
+  name = Ffont_xlfd_name (fontset_spec, Qnil);
   if (NILP (name))
     abort ();
   fontset = make_fontset (Qnil, name, Qnil);
@@ -1905,7 +1905,7 @@
 	      for (; CONSP (alist); alist = XCDR (alist))
 		{
 		  elt = XCAR (alist);
-		  XSETCAR (elt, Ffont_xlfd_name (XCAR (elt)));
+		  XSETCAR (elt, Ffont_xlfd_name (XCAR (elt), Qnil));
 		}
 	    }
 	  c = to + 1;