changeset 90443:57b847825c30

(xfont_list): If script is specified for a font, return null_vector. (xfont_list_family): Declare argument type.
author Kenichi Handa <handa@m17n.org>
date Fri, 09 Jun 2006 02:15:38 +0000
parents d6abf2344438
children cd20cf7f26f9
files src/xfont.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xfont.c	Fri Jun 09 02:15:23 2006 +0000
+++ b/src/xfont.c	Fri Jun 09 02:15:38 2006 +0000
@@ -320,6 +320,9 @@
       val = Fassq (QCotf, extra);
       if (! NILP (val))
 	return null_vector;
+      val = Fassq (QCscript, extra);
+      if (! NILP (val))
+	return null_vector;
       val = Fassq (QCname, extra);
       if (CONSP (val))
 	font_name = XCDR (val);
@@ -464,6 +467,7 @@
 
 static Lisp_Object
 xfont_list_family (frame)
+     Lisp_Object frame;
 {
   FRAME_PTR f = XFRAME (frame);
   Display_Info *dpyinfo = FRAME_X_DISPLAY_INFO (f);