[gimp] Bug 749044 - Exporting as KISS - CELL (*.cel) results in error
- From: Michael Schumacher <schumaml src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] Bug 749044 - Exporting as KISS - CELL (*.cel) results in error
- Date: Thu, 26 May 2016 02:05:26 +0000 (UTC)
commit bf9b33ece2176ef721c9341db2c4df81da3e6017
Author: Adrian Likins <alikins redhat com>
Date: Thu May 26 03:48:26 2016 +0200
Bug 749044 - Exporting as KISS - CELL (*.cel) results in error
plug-ins/common/file-cel.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/plug-ins/common/file-cel.c b/plug-ins/common/file-cel.c
index b0495ac..284dc9e 100644
--- a/plug-ins/common/file-cel.c
+++ b/plug-ins/common/file-cel.c
@@ -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
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]