Commit 475b0a56 authored by Manish Singh's avatar Manish Singh

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
parent 27f8c48a
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
......
......@@ -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
{
......
......@@ -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
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment