plug-ins: fix setting error message in psd-util.
This commit is contained in:
parent
3d248dc66f
commit
670ef6b9a3
1 changed files with 1 additions and 1 deletions
|
|
@ -171,7 +171,7 @@ static const LayerModeMapping layer_mode_map[] =
|
|||
void
|
||||
psd_set_error (GError **error)
|
||||
{
|
||||
if (! error)
|
||||
if (! error || ! *error)
|
||||
g_set_error (error, G_FILE_ERROR, G_FILE_ERROR_FAILED,
|
||||
_("Error reading data. Most likely unexpected end of file."));
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue