changeset 96263:9775da34ea47

(Fx_list_fonts): Call Flist_fonts with the arg PREFER.
author Kenichi Handa <handa@m17n.org>
date Wed, 25 Jun 2008 07:35:33 +0000
parents 31a398897576
children f6d31b2307be
files src/xfaces.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xfaces.c	Wed Jun 25 07:31:37 2008 +0000
+++ b/src/xfaces.c	Wed Jun 25 07:35:33 2008 +0000
@@ -1939,7 +1939,7 @@
 	Ffont_put (font_spec, QCsize, make_number (size));
 	Ffont_put (font_spec, QCavgwidth, make_number (avgwidth));
       }
-    args[0] = Flist_fonts (font_spec, frame, maximum, Qnil);
+    args[0] = Flist_fonts (font_spec, frame, maximum, font_spec);
     for (tail = args[0]; CONSP (tail); tail = XCDR (tail))
       XSETCAR (tail, Ffont_xlfd_name (XCAR (tail), Qnil));
     if (NILP (frame))