[gimp] libgimp: fix swapped alpha handling in indexed case
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] libgimp: fix swapped alpha handling in indexed case
- Date: Wed, 2 May 2012 16:48:25 +0000 (UTC)
commit 2cb15f8669a8a8147c8c159e4e3da631d2d557f4
Author: Simon Budig <simon budig de>
Date: Sat Apr 28 17:19:51 2012 +0200
libgimp: fix swapped alpha handling in indexed case
libgimp/gimpdrawable.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libgimp/gimpdrawable.c b/libgimp/gimpdrawable.c
index 18eeda2..f7d9f2a 100644
--- a/libgimp/gimpdrawable.c
+++ b/libgimp/gimpdrawable.c
@@ -762,9 +762,9 @@ gimp_drawable_get_format (gint32 drawable_ID)
g_free (colormap);
if (gimp_drawable_has_alpha (drawable_ID))
- format = palette;
- else
format = palette_alpha;
+ else
+ format = palette;
}
else
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]