From 2adccf2859baff2c9b1a8cf6018ef2ddaae7ca7f Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Fri, 8 Dec 2006 00:56:01 +0000 Subject: [PATCH] (x_query_font): Use xstricmp instead off strcasecmp. --- src/xterm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xterm.c b/src/xterm.c index 75c22a7361f..4fd518fc86a 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -10203,8 +10203,8 @@ x_query_font (f, fontname) for (i = 0; i < dpyinfo->n_fonts; i++) if (dpyinfo->font_table[i].name - && (!strcasecmp (dpyinfo->font_table[i].name, fontname) - || !strcasecmp (dpyinfo->font_table[i].full_name, fontname))) + && (!xstricmp (dpyinfo->font_table[i].name, fontname) + || !xstricmp (dpyinfo->font_table[i].full_name, fontname))) return (dpyinfo->font_table + i); return NULL; } -- 2.39.2