Mercurial > emacs
diff src/w32fns.c @ 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 | 0bfda07cccbc |
children | b37e887392d9 |
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;