mirror of https://github.com/GNOME/gimp.git
Bug 749044 - Exporting as KISS - CELL (*.cel) results in error
This commit is contained in:
parent
e20af20fc4
commit
bf9b33ece2
|
@ -256,7 +256,10 @@ run (const gchar *name,
|
|||
if (save_image (g_file_new_for_uri (param[3].data.d_string),
|
||||
image_ID, drawable_ID, &error))
|
||||
{
|
||||
gimp_set_data (SAVE_PROC, palette_file, data_length);
|
||||
if (data_length)
|
||||
{
|
||||
gimp_set_data (SAVE_PROC, palette_file, data_length);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue