changeset 72265:bf8af0345501

(w32_query_font): Compare names by ignoring case.
author Kenichi Handa <handa@m17n.org>
date Fri, 04 Aug 2006 02:49:58 +0000
parents 86b8d5e4301f
children 436c014d941c
files src/w32fns.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/w32fns.c	Fri Aug 04 01:49:05 2006 +0000
+++ b/src/w32fns.c	Fri Aug 04 02:49:58 2006 +0000
@@ -6207,7 +6207,7 @@
 
   for (i = 0; i < one_w32_display_info.n_fonts ;i++, pfi++)
     {
-      if (strcmp(pfi->name, fontname) == 0) return pfi;
+      if (strcasecmp(pfi->name, fontname) == 0) return pfi;
     }
 
   return NULL;