Use g_ascii_strcasecmp() instead of g_strcasecmp().
2001-12-14 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * io-xpm.c: Use g_ascii_strcasecmp() instead of g_strcasecmp().
This commit is contained in:
committed by
Sebastian Wilhelmi
parent
d99bd97fe8
commit
c1e9dd9dbd
@@ -1,3 +1,7 @@
|
||||
2001-12-14 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||
|
||||
* io-xpm.c: Use g_ascii_strcasecmp() instead of g_strcasecmp().
|
||||
|
||||
2001-12-13 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||
|
||||
* gdk-pixbuf-animation.c, gdk-pixbuf-loader.c, gdk-pixpuf.c,
|
||||
|
||||
@@ -898,7 +898,8 @@ static XPMColorEntry xColors[] = {
|
||||
static int
|
||||
compare_xcolor_entries (const void *a, const void *b)
|
||||
{
|
||||
return g_strcasecmp ((const char *) a, ((const XPMColorEntry *) b)->name);
|
||||
return g_ascii_strcasecmp ((const char *) a,
|
||||
((const XPMColorEntry *) b)->name);
|
||||
}
|
||||
|
||||
static gboolean
|
||||
|
||||
Reference in New Issue
Block a user