Commit 4cded149 authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer
Browse files

copy the alpha channel from the correct source.

2005-06-13  Michael Natterer  <mitch@gimp.org>

	* app/core/gimplayer.c (gimp_layer_transform_color): copy the
	alpha channel from the correct source.
parent 697142c2
2005-06-13 Michael Natterer <mitch@gimp.org>
* app/core/gimplayer.c (gimp_layer_transform_color): copy the
alpha channel from the correct source.
2005-06-13 Sven Neumann <sven@gimp.org>
* app/core/gimp-transform-resize.c: added missing brackets in macros.
......
......@@ -797,7 +797,7 @@ gimp_layer_transform_color (GimpImage *gimage,
gimp_image_transform_color (gimage, drawable, d, src_type, s);
/* copy alpha channel */
d[layerPR->bytes - 1] = src[bufPR->bytes - 1];
d[layerPR->bytes - 1] = s[bufPR->bytes - 1];
s += bufPR->bytes;
d += layerPR->bytes;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment