libgimp: fix swapped alpha handling in indexed case

This commit is contained in:
Simon Budig 2012-04-28 17:19:51 +02:00 committed by Michael Natterer
parent f057aa7932
commit 2cb15f8669

View file

@ -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
{