Commit ff2b9ee7 authored by Mukund Sivaraman's avatar Mukund Sivaraman
Browse files

file-png: Return correct type of error value

parent 1ac6c7b8
......@@ -725,7 +725,7 @@ load_image (const gchar *filename,
g_set_error (error, 0, 0,
_("Error creating PNG read struct while saving '%s'."),
gimp_filename_to_utf8 (filename));
return FALSE;
return -1;
}
info = png_create_info_struct (pp);
......
Supports Markdown
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