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:
Jacob Boerema 2024-03-04 15:52:57 -05:00
parent b2af8b6c2c
commit a22a2a5b15
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}