fix a tiny bug in the xcf loader that would have caused gimp to crash on a

* app/xcf.c: fix a tiny bug in the xcf loader that would have caused gimp to
crash on a corrupt xcf file

-Yosh
This commit is contained in:
Manish Singh
1998-04-13 09:17:27 +00:00
parent 27f8c48aed
commit 475b0a56e0
3 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
Mon Apr 13 02:12:21 PDT 1998 Manish Singh <yosh@gimp.org>
* app/xcf.c: fix a tiny bug in the xcf loader that would have
caused gimp to crash on a corrupt xcf file
Mon Apr 13 01:47:22 PDT 1998 Manish Singh <yosh@gimp.org>
* plug-ins/flarefx/flarefx.c: applied gimp-timecop-980412-0

View File

@ -328,8 +328,8 @@ xcf_load_invoker (Argument *args)
if (info.file_version < N_xcf_loaders)
{
gimage = (*(xcf_loaders[info.file_version])) (&info);
if (gimage)
success = TRUE;
if (!gimage)
success = FALSE;
}
else
{

View File

@ -328,8 +328,8 @@ xcf_load_invoker (Argument *args)
if (info.file_version < N_xcf_loaders)
{
gimage = (*(xcf_loaders[info.file_version])) (&info);
if (gimage)
success = TRUE;
if (!gimage)
success = FALSE;
}
else
{