changeset 32640:9adbb2160f48

(x_find_ccl_program): Check also fontp->full_name.
author Kenichi Handa <handa@m17n.org>
date Thu, 19 Oct 2000 06:55:02 +0000
parents 09353c2fcc8a
children 48709f040160
files src/xterm.c
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Thu Oct 19 06:52:31 2000 +0000
+++ b/src/xterm.c	Thu Oct 19 06:55:02 2000 +0000
@@ -13191,8 +13191,10 @@
       elt = XCAR (list);
       if (CONSP (elt)
 	  && STRINGP (XCAR (elt))
-	  && (fast_c_string_match_ignore_case (XCAR (elt), fontp->name)
-	      >= 0))
+	  && ((fast_c_string_match_ignore_case (XCAR (elt), fontp->name)
+	       >= 0)
+	      || (fast_c_string_match_ignore_case (XCAR (elt), fontp->full_name)
+		  >= 0)))
 	break;
     }