[gimp/metadata-browser] libgimp: fix swapped alpha handling in indexed case
- From: Roman Joost <romanofski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/metadata-browser] libgimp: fix swapped alpha handling in indexed case
- Date: Thu, 13 Sep 2012 00:00:21 +0000 (UTC)
commit 2c69d9100232f938459a30e3e138345e333805b1
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]