mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-05 16:20:10 +00:00
Use the correct index, reported by Tommi Komulainen.
2004-08-24 Matthias Clasen <mclasen@redhat.com> * gdk-pixbuf-loader.c (gdk_pixbuf_loader_new_with_mime_type): Use the correct index, reported by Tommi Komulainen.
This commit is contained in:
parent
f7cbfbae15
commit
162354e628
@ -1,5 +1,8 @@
|
||||
2004-08-24 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gdk-pixbuf-loader.c (gdk_pixbuf_loader_new_with_mime_type): Use
|
||||
the correct index, reported by Tommi Komulainen.
|
||||
|
||||
* gdk-pixdata.c (gdk_pixdata_from_pixbuf): Work around bugs in
|
||||
the runlength encoder by forcing rowstride * height to be
|
||||
divisible by bpp. (#150882)
|
||||
|
@ -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[i], mime_type)) {
|
||||
if (g_ascii_strcasecmp (mimes[j], mime_type)) {
|
||||
image_type = info->name;
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user