mirror of https://github.com/GNOME/gimp.git
plug-ins: fix overwriting a GError in PCX loader
In the previous commit I overlooked one other case where the GError can be overwritten. Fix this by using g_prefix_error.
This commit is contained in:
parent
b2af8b6c2c
commit
a22a2a5b15
|
@ -517,8 +517,8 @@ load_single (GimpProcedure *procedure,
|
|||
|
||||
if (! image)
|
||||
{
|
||||
g_set_error (error, G_FILE_ERROR, g_file_error_from_errno (errno),
|
||||
_("Could not load PCX image"));
|
||||
g_prefix_error (error,
|
||||
_("Could not load PCX image: "));
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue