summaryrefslogtreecommitdiff
path: root/gdk-pixbuf/gdk-pixbuf-loader.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2004-08-24 20:25:15 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2004-08-24 20:25:15 +0000
commit592261ead76f2b88ff805d3097831e2340f65b4c (patch)
tree9be440c78b541bd0a5ca1dcc81886b41f9a3df49 /gdk-pixbuf/gdk-pixbuf-loader.c
parentd15049e9753dfbbb898608014ae51de3eb9ad43a (diff)
downloadgdk-pixbuf-592261ead76f2b88ff805d3097831e2340f65b4c.tar.gz
Use the correct index, and compare correctly, reported by Tommi
2004-08-24 Matthias Clasen <mclasen@redhat.com> * gdk-pixbuf-loader.c (gdk_pixbuf_loader_new_with_mime_type): Use the correct index, and compare correctly, reported by Tommi Komulainen.
Diffstat (limited to 'gdk-pixbuf/gdk-pixbuf-loader.c')
-rw-r--r--gdk-pixbuf/gdk-pixbuf-loader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk-pixbuf/gdk-pixbuf-loader.c b/gdk-pixbuf/gdk-pixbuf-loader.c
index f6755848d..024c2be2b 100644
--- a/gdk-pixbuf/gdk-pixbuf-loader.c
+++ b/gdk-pixbuf/gdk-pixbuf-loader.c
@@ -600,7 +600,7 @@ gdk_pixbuf_loader_new_with_mime_type (const char *mime_type,
mimes = info->mime_types;
for (j = 0; mimes[j] != NULL; j++)
- if (g_ascii_strcasecmp (mimes[j], mime_type)) {
+ if (g_ascii_strcasecmp (mimes[j], mime_type) == 0) {
image_type = info->name;
break;
}