diff options
author | Matthias Clasen <mclasen@redhat.com> | 2004-08-24 20:25:15 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2004-08-24 20:25:15 +0000 |
commit | 592261ead76f2b88ff805d3097831e2340f65b4c (patch) | |
tree | 9be440c78b541bd0a5ca1dcc81886b41f9a3df49 /gdk-pixbuf/gdk-pixbuf-loader.c | |
parent | d15049e9753dfbbb898608014ae51de3eb9ad43a (diff) | |
download | gdk-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.c | 2 |
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; } |