From 3046c3f9246fde1c93c30bce6c011204333de29f Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 4 Aug 2006 17:22:18 +0000 Subject: [PATCH] (w32_query_font): Fix last change: use stricmp. --- src/ChangeLog | 4 ++++ src/w32fns.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 49c4649d144..59be848bf58 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2006-08-04 Eli Zaretskii + + * w32fns.c (w32_query_font): Fix last change: use stricmp. + 2006-08-04 Stefan Monnier * editfns.c (Fsubst_char_in_region): Redo the setup work after running diff --git a/src/w32fns.c b/src/w32fns.c index 4c933f0631e..e1cae4f3eb4 100644 --- a/src/w32fns.c +++ b/src/w32fns.c @@ -6236,7 +6236,7 @@ w32_query_font (struct frame *f, char *fontname) for (i = 0; i < one_w32_display_info.n_fonts ;i++, pfi++) { - if (strcasecmp(pfi->name, fontname) == 0) return pfi; + if (stricmp(pfi->name, fontname) == 0) return pfi; } return NULL; -- 2.39.2