mirror of https://github.com/GNOME/gimp.git
plug-ins: fix #5315 Opening FLI with one frame fails
Fix as suggested by Lloyd Konneker. Even though a one frame animation isn't really an animation, there is no reason why we can't or shouldn't load it.
This commit is contained in:
parent
5ecf46ccef
commit
d143a2d55f
|
@ -544,7 +544,7 @@ load_image (GFile *file,
|
|||
return NULL;
|
||||
}
|
||||
|
||||
if (from_frame >= fli_header.frames)
|
||||
if (from_frame > fli_header.frames)
|
||||
{
|
||||
/* nothing to do ... */
|
||||
fclose (fp);
|
||||
|
|
Loading…
Reference in New Issue