summaryrefslogtreecommitdiff
path: root/gdk-pixbuf/io-xpm.c
diff options
context:
space:
mode:
authorHans Breuer <hans@breuer.org>2001-11-18 15:33:18 +0000
committerHans Breuer <hans@src.gnome.org>2001-11-18 15:33:18 +0000
commit224b2d682bb246ab74ce5437453dd44e44665ab4 (patch)
tree5db5d36e5a4c90650595dbd252589a4529f871b4 /gdk-pixbuf/io-xpm.c
parent2f813ba0c82aef9a851366d76fdf3586eebbc7a8 (diff)
downloadgdk-pixbuf-224b2d682bb246ab74ce5437453dd44e44665ab4.tar.gz
use g_strcasecmp(), some poor platforms don't have strcasecmp()
2001-11-18 Hans Breuer <hans@breuer.org> * io-xpm.c : use g_strcasecmp(), some poor platforms don't have strcasecmp() * makefile.msc : do INCLUDE_png etc. definition here to avoid my temporary 'gdk-pixbuf-io-include.h' hack
Diffstat (limited to 'gdk-pixbuf/io-xpm.c')
-rw-r--r--gdk-pixbuf/io-xpm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk-pixbuf/io-xpm.c b/gdk-pixbuf/io-xpm.c
index 583b05aad..b18a82e64 100644
--- a/gdk-pixbuf/io-xpm.c
+++ b/gdk-pixbuf/io-xpm.c
@@ -898,7 +898,7 @@ static XPMColorEntry xColors[] = {
static int
compare_xcolor_entries (const void *a, const void *b)
{
- return strcasecmp ((const char *) a, ((const XPMColorEntry *) b)->name);
+ return g_strcasecmp ((const char *) a, ((const XPMColorEntry *) b)->name);
}
static gboolean