Commit 6f64cebf authored by Kenichi Handa's avatar Kenichi Handa

(w32_query_font): Compare names by ignoring case.

parent ef8f7cdd
2006-08-04 Kenichi Handa <handa@m17n.org>
* w32fns.c (w32_query_font): Compare names by ignoring case.
* xterm.c (x_query_font): Compare names by ignoring case.
2006-08-03 Jason Rumney <jasonr@gnu.org>
......
......@@ -6207,7 +6207,7 @@ w32_query_font (struct frame *f, char *fontname)
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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment