# HG changeset patch # User Jason Rumney # Date 1211468028 0 # Node ID 0f6fa3ec70b6be3554af7430acf82691e3cd4217 # Parent cb71cb48eb666a73b8c637f4abdccb8a77e5197b * dispextern.h, xfaces.c (xstrcasecmp): Renamed from xstricmp. * dosfns.c, fileio.c, font.c, fontset.c, image.c, macfns.c: * macterm.c, process.c, w32.c, w32fns.c, w32proc.c, xfaces.c: * xfns.c, xfont.c: Callers changed. diff -r cb71cb48eb66 -r 0f6fa3ec70b6 src/w32fns.c --- a/src/w32fns.c Thu May 22 14:53:35 2008 +0000 +++ b/src/w32fns.c Thu May 22 14:53:48 2008 +0000 @@ -4993,16 +4993,16 @@ { if (!lpw) return (FW_DONTCARE); - if (stricmp (lpw, "heavy") == 0) return FW_HEAVY; - else if (stricmp (lpw, "extrabold") == 0) return FW_EXTRABOLD; - else if (stricmp (lpw, "bold") == 0) return FW_BOLD; - else if (stricmp (lpw, "demibold") == 0) return FW_SEMIBOLD; - else if (stricmp (lpw, "semibold") == 0) return FW_SEMIBOLD; - else if (stricmp (lpw, "medium") == 0) return FW_MEDIUM; - else if (stricmp (lpw, "normal") == 0) return FW_NORMAL; - else if (stricmp (lpw, "light") == 0) return FW_LIGHT; - else if (stricmp (lpw, "extralight") == 0) return FW_EXTRALIGHT; - else if (stricmp (lpw, "thin") == 0) return FW_THIN; + if (xstrcasecmp (lpw, "heavy") == 0) return FW_HEAVY; + else if (xstrcasecmp (lpw, "extrabold") == 0) return FW_EXTRABOLD; + else if (xstrcasecmp (lpw, "bold") == 0) return FW_BOLD; + else if (xstrcasecmp (lpw, "demibold") == 0) return FW_SEMIBOLD; + else if (xstrcasecmp (lpw, "semibold") == 0) return FW_SEMIBOLD; + else if (xstrcasecmp (lpw, "medium") == 0) return FW_MEDIUM; + else if (xstrcasecmp (lpw, "normal") == 0) return FW_NORMAL; + else if (xstrcasecmp (lpw, "light") == 0) return FW_LIGHT; + else if (xstrcasecmp (lpw, "extralight") == 0) return FW_EXTRALIGHT; + else if (xstrcasecmp (lpw, "thin") == 0) return FW_THIN; else return FW_DONTCARE; } @@ -5057,7 +5057,7 @@ if (NILP (this_entry)) { /* At startup, we want iso8859-1 fonts to come up properly. */ - if (stricmp (charset, "iso8859-1") == 0) + if (xstrcasecmp (charset, "iso8859-1") == 0) return ANSI_CHARSET; else return DEFAULT_CHARSET; @@ -6483,7 +6483,7 @@ for (i = 0; i < one_w32_display_info.n_fonts ;i++, pfi++) { - if (stricmp (pfi->name, fontname) == 0) return pfi; + if (xstrcasecmp (pfi->name, fontname) == 0) return pfi; } return NULL;