]> git.eshelyaron.com Git - emacs.git/commitdiff
(try_font_list): Call try_alternative_families to try any family
authorKenichi Handa <handa@m17n.org>
Fri, 15 Aug 2003 12:19:29 +0000 (12:19 +0000)
committerKenichi Handa <handa@m17n.org>
Fri, 15 Aug 2003 12:19:29 +0000 (12:19 +0000)
with the given registry.

src/xfaces.c

index 229797fc1ad3944be8733d776d7d2144f00f6cf6..d0a3238d5aa5a5829e072213b4ebdb2b86478c27 100644 (file)
@@ -6439,7 +6439,7 @@ try_font_list (f, attrs, family, registry, fonts, prefer_face_family)
 
   /* Try any family with the given registry.  */
   if (nfonts == 0)
-    nfonts = font_list (f, Qnil, Qnil, registry, fonts);
+    nfonts = try_alternative_families (f, Qnil, registry, fonts);
 
   return nfonts;
 }