libgimp: fix swapped alpha handling in indexed case
This commit is contained in:

committed by
Michael Natterer

parent
f057aa7932
commit
2cb15f8669
@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user